void addAction(DockingActionIf action) {
		reentryGuard.checkAccess();
		if (action.getMenuBarData() != null || action.getToolBarData() != null) {
			DockingActionProxy proxyAction = new DockingActionProxy(action);
			actionToProxyMap.put(action, proxyAction);
			menuBarMgr.addAction(proxyAction);
			toolBarMgr.addAction(proxyAction);
		}
	}
Some actions' {@link DockingActionIf#isEnabledForContext(ActionContext)} methods may
inadvertently display an error dialog, allowing for the Swing thread to reenter and modify
the {@link #actionToProxyMap}. We want to allow this, but detect it and bail early.
Ghidra/Framework/Docking/src/main/java/docking/WindowActionManager.java