Implemented confirmation modal when user attempts to toggle event state