Dialogs DatePicker bug fixes