there is a boolean variable "_off" to avoid showing the later when the application already stops... but it is tested AFTER showing the dialog box!