add enter and exit EditMode