WINDOW_HIDDEN

WINDOW_CLOSE_REQUEST

This event is delivered to a
window when there is an external request to close that window. If the
event is not consumed by any installed window event handler, the default
handler for this event closes the corresponding window.