@Override
	protected void okCallback() {
		if (addrInput.getAddress() != null) {
			close();
		}
		else {
			setStatusText("Please enter a valid address");
		}
	}
Construct a new dialog
@param defaultAddress address to put in the address field as a default
@param program the program
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/references/OffsetTableDialog.java