Bug 966405 - Do not close the application when hidden if it's displaying a message