close any popovers when switching away from the calendar.