Added the modal dialog for event