private void doLoadLibraries() {
		ProgramManager manager = tool.getService(ProgramManager.class);
		Program program = manager.getCurrentProgram();

		TaskLauncher.launchModal("Show Load Libraries Dialog", monitor -> {
			ImporterUtilities.showLoadLibrariesDialog(program, tool, manager, monitor);
		});
	}
A {@link Plugin} that supplies menu items and tasks to import files into Ghidra.
Ghidra/Features/Base/src/main/java/ghidra/plugin/importer/ImporterPlugin.java