make the context menu use the same methods as the menubar