Add a confirmation dialog when clearing schedules