Esc closes current active window
Curent active window closes by pressing Esc.
It's too uncomfortable, when you habitually press the Esc button and top level menu appears. Also, you cant close it by pressing Esc again, you should find and press UI button instead.
PS. All UI issues affects the user mood.