Setting up calendars and modals