@Test
	public void testDeleteWarning() {
		showProvider(FunctionTagProvider.class);
		waitForSwing();
		addTableData();

		FunctionTagProvider provider = getProvider(FunctionTagProvider.class);
		SourceTagsPanel sourcePanel = (SourceTagsPanel) getInstanceField("sourcePanel", provider);
		FunctionTagTable table = (FunctionTagTable) getInstanceField("table", sourcePanel);
		table.setRowSelectionInterval(7, 7);
		FunctionTagButtonPanel buttonPanel =
			(FunctionTagButtonPanel) getInstanceField("buttonPanel", provider);
		pressButtonByName(buttonPanel, "deleteBtn", false);
		OptionDialog warningDialog = waitForDialogComponent(OptionDialog.class);
		captureDialog(warningDialog);
	}
For this test the item in row 1 of the available tags table must be an editable
item. If not, edit the function_tags.xml file to remove all items and re-run this.
Ghidra/Test/IntegrationTest/src/screen/java/help/screenshot/FunctionTagPluginScreenShots.java