private void addListeners() {
		labelNameChoices.addActionListener(e -> {
			if (program != null) {
				okCallback();
			}
		});
	}
Define the Main panel for the dialog here.
Ghidra/Features/Base/src/main/java/ghidra/app/util/AddEditDialog.java