Fix for events accordion in modal