controllers for calendar and popovers