added a modal to change the dates