New menu event handling scheme.