Added a date dialog and new class (DateFragment)