Datepickers now close themselves when picking a date