private String getCurrentFieldName() {
		String name = dtComp.getFieldName();
		if (name == null) {
			name = dtComp.getDefaultFieldName();
		}
		return name;
	}
Construct a new dialog.

@param title title for the dialog, null value is acceptable if no title
@param tool the plugin tool
Ghidra/Features/Base/src/main/java/ghidra/app/util/EditFieldNameDialog.java