Added the AddEventDialog class