add exit enter editMode