hide datepicker after select date