This event is activated on a popup just before it opens. It is commonly used to dynamically set the contents of the popup when it is requested in the UI.