private void remove(ManagedMenuItem item) {
		managedMenuItems.remove(item);
		if (item instanceof MenuManager) {
			subMenus.remove(((MenuManager) item).name);
		}
		item.dispose();
	}
Returns a JPopupMenu for the action hierarchy
@return the popup menu
Ghidra/Framework/Docking/src/main/java/docking/menu/MenuManager.java