Added date dialog and updated time dialog