Add cmd-w shortcut to close window action