edit toggle addeded for goal and subgoal