fixes for date time picker and modals