Triggered just before a modal dialog is displayed.
See Also | Example
An object expression that evaluates to a valid container object. In this case, the only valid container is the application.
No events will be fired while a modal dialog is being displayed.
You should never issue a message box from within an event handler for the BeginModal event.