modals working, datepicker set-up