Datepicker now hides when selected