UI: Handle esc keypress in entity container