This statement ensures that the warning pops up if I use ``ESC``. But if I click anywhere else with the mouse then, still, no warning message is presented.