Our project stakeholders have asked that we add in a "Are you sure you want to quit?" prompt when/if the user clicks on the close ("X") icon in the upper-right corner. They'll also want this on an Alt-F4 or system menu "Close".
I suspect that this is impossible, but I'm hoping that somebody might have figured out a way to do this. Any suggestions, tips, scripts, etc (or even a defniitive "no") will be appreciated.