add singleDatePickerAutoClose option

In singleDatePicker mode, setting singleDatePickerAutoClose to false
will apply any changes when the picker is closed. It's set to true by
default.