added transitions to close Events