added two modals for entry and datepicker