added close window to summaryDialog and edit schedules