Allow to warn about quitting when using action from tray icon