Refactored the event modals into one modal