public void dispose() {
		firstBytesPanel.dispose();
		clipboard.dispose();
		tool.removeAction(gatherDataFromProgramAction);
	}
Removes the action from the tool.
Ghidra/Features/BytePatterns/src/main/java/ghidra/bitpatterns/gui/FunctionBitPatternsMainProvider.java