need to make datePicker close with tab