Add secondary menu opened callback.