Added listeners for secondary menu open and opened events