handleEscInPopover implements Esc inside the popover: arg level steps back to the command menu; command level closes the popover and clears the textarea.
()
source not stored for this graph (policy: none)
no test coverage detected