Cancel edit when [esc] is pressed.