When clicking the dropdown button again, hide the datePicker.