@Override
	void dispose() {

		disposeWindow();

		if (child != null) {
			child.parent = null;
			child.dispose();
			child = null;
		}
	}
rebuilds the component tree if needed.
Ghidra/Framework/Docking/src/main/java/docking/DetachedWindowNode.java