Added escape key to get out of text edit mode.