private void waitForDialog() {
		waitForCondition(() -> !dialog.isBusy());
		waitForSwing();
	}
Interface for tests to signal what is expected of the executor
Ghidra/Features/Base/src/test.slow/java/ghidra/app/tablechooser/TableChooserDialogTest.java