Add imap for escape key