Close
eventsTriggered when a Window is closed either by the user or through the close() method.
Event Data
e.userTriggered Boolean
Indicates whether the close action was triggered by the user either by clicking the Close button or by pressing Esc. When the close method was called, this field is false.
e.preventDefault Function
If invoked prevents the Window from closing.