edit toggling works