Fix some issues with datepicker submit bindings