refactored modals, section loading, added datepicker