fixed UX flow of enabling view and edit mode on click