Add esc keymap on DialogBox.