registers event listener which make sure that
window doesn't get closed if CMD/CTRL W is pressed.
Too many users have that in their muscle memory.
Chrome doesn't let us rebind or prevent default the keybinding, so this
at least doesn't close the window immediately.
registers event listener which make sure that window doesn't get closed if CMD/CTRL W is pressed. Too many users have that in their muscle memory. Chrome doesn't let us rebind or prevent default the keybinding, so this at least doesn't close the window immediately.