newProjectDialog and EventDialog