switch to edit mode