demo added of a date picker in a dialog