Fixed null pointer exception
Refactoring
DateDialog refactoring
DeleteConfirmationDialog refactoring