Added a datepicker dialog