public static int showYesNoDialog(Component parent, String title, String message) {
		return showOptionNoCancelDialog(parent, title, message, "&Yes", "&No", QUESTION_MESSAGE);
	}
Dialog with only YES/NO options, no CANCEL

@param parent    The parent dialog or frame of this dialog. (Can be null)
@param title     The String to be placed in the dialogs title area.
@param message   The information message to be displayed in the dialog.
@return The options selected by the user:
<pre>
                 0 is returned if the operation is cancelled
                 1 for <b>Yes</b>
                 2 for <b>No</b>
</pre>
Ghidra/Framework/Docking/src/main/java/docking/widgets/OptionDialog.java