@Override
	public void dispose() {
		plugin.dialogClosed(this);
		table.dispose();
		super.dispose();
	}
For test/screen shot use

@return button
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/strings/EncodedStringsDialog.java