Cancel editing by pressing ESC.