public static DialogComponentProvider waitForDialogComponent(String title) {
		Window window = waitForWindow(title);
		assertNotNull("No window found with title '" + title + "'", window);

		if (!(window instanceof DockingDialog)) {
			fail("Window is not a DockingDialog - '" + title + "'");
		}

		DockingDialog dd = (DockingDialog) window;
		return dd.getDialogComponent();
	}
Returns the {@link DialogComponentProvider} with the given title.  This method is
not preferred, but instead you should use a {@link #waitForDialogComponent(Class)}
that takes a class so that you can get the correct return type.  This method is meant
for clients that need a dialog, but that type is private of package restricted and thus
cannot be referenced by a test.   Also, code that relies on a title is more subject to
breaking when code is refactored; code that relies on class types will get refactored
along side the referenced code.

<P>This method will fail if no dialog can be found

@param title the title of the desired dialog
@return the dialog
Ghidra/Framework/Docking/src/main/java/docking/test/AbstractDockingTest.java