Hi. Is there a way to handle a shell in its closing state? I would like to add a prompt before a user can close the main application through the 'x' (close button). Thanks in advance. - ian