make app close button confirm exit like Ctrl+Q