JDialog getModalDialog() {
		if (windowWrapper.isModal()) {
			return (JDialog) windowWrapper.getWindow();
		}
		return null;
	}
Updates the component hierarchy for the main frame and all sub-frames.
Ghidra/Framework/Docking/src/main/java/docking/RootNode.java