make Alt+F4 and Ctrl+F4 behave as expected