public static boolean areModalDialogsVisible() {
		return getOpenModalDialogs().size() > 0;
	}
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