Close datepicker on blur