Made the selected date from the date picker get added to the modal (today
if nothing selected)