This is a dangerous thing to do - showing modal window during the onQuit event.