edit

Saves current state and switches to editing mode. It's possible to switch to editing mode only once, all subsequent calls will be ignored.