private static DockingWindowManager getDockingWindowManagerForWindow(Window activeWindow) {
		DockingWindowManager manager = DockingWindowManager.getInstance(activeWindow);
		if (manager != null) {
			return manager;
		}
		if (activeWindow instanceof DockingDialog) {
			DockingDialog dockingDialog = (DockingDialog) activeWindow;
			return dockingDialog.getOwningWindowManager();
		}
		return null;
	}
Used to clear the flag that signals we are in the middle of processing a Ghidra action.
Ghidra/Framework/Docking/src/main/java/docking/MouseBindingMouseEventDispatcher.java