updated modal, datepicker and button