Added a modal for event editing