It would be nice if a key like "m" would
- open the map if it is closed
- restore the map if it is minimized
- close the map if it is opened
where map is exemplary for any window that can be opened by a key.
That would be nice if M closed the map again after it's open... I am constantly hitting M expecting it to close and it doesn't :)
I just use backspace to close windows. Of course, this closes all windows, but those you want to keep open can be "pinned" to prevent closure.
I constantly open the help window by pressing the wrong key, but I don't suppose pressing a random key should close it as well.
esc and delete will close the focused window, while backspace closes all windows, except pinned.
Wasn't recent a function added to close dialogues upon calling them a second time. This should work for keybindings too.
You can right-click the toolbar button and it closes too.