private static void getOpenModalDialogChildren(Frame frame, List<Dialog> openModalDialogs) {
		Window[] ownedWindows = frame.getOwnedWindows();
		for (Window window : ownedWindows) {
			getOpenModalDialogChidrenForWindow(window, openModalDialogs);
		}
	}
Returns true if there are one or more modal dialogs displayed in the current JVM.
@return true if there are one or more modal dialogs displayed in the current JVM.
Ghidra/Framework/Generic/src/main/java/generic/util/WindowUtilities.java