exit edit mode test