datepicker submits form.