Fix create mode after edit+cancel