Specify the button type to be 'button'
Because on some browsers the default is submit. This causes clicking the
buttons in the datepicker to submit the form it's in.