It is restrictive to close the window if Escape is pressed, so allowing key and modifiers rebinding to close the window may be useful (e.g., Alt+F4 or Ctrl+Q).
Currently, the window can only be closed with the Escape key. Allowing customizable keybindings with modifiers (e.g., Alt+F4 or Ctrl+Q) would improve flexibility.