private void showDialog(DialogComponentProvider dialogComponent) {
		runSwing(() -> {
			DockingDialog dialog = DockingDialog.createDialog(null, dialogComponent, null);
			dialog.setLocation(WindowUtilities.centerOnScreen(dialog.getSize()));
			dialog.setVisible(true);
		});
	}
Call when you are finished generating a new image.  This method will either show the
newly created image or write it to disk, depending upon the value of
{@link #SAVE_CREATED_IMAGE_FILE}, which is a system property.

@param helpTopic The help topic that contains the image
@param oldImageName  The name of the image
Ghidra/Features/Base/src/main/java/help/screenshot/GhidraScreenShotGenerator.java