better canceling of edit modus