@Override
		public void run(TaskMonitor monitor) {
			for (DomainFile file : files) {
				if (monitor.isCancelled()) {
					break;
				}
				String name = file.getName();
				monitor.setProgress(0);
				monitor.setMessage("Saving " + name);
				Msg.info(this, "Successfully saved file: " + name);
				try {
					file.save(monitor);
				}
				catch (CancelledException e) {
					return;
				}
				catch (IOException e) {
					Msg.showError(this, tool.getToolFrame(), "Error Saving File",
						"IO Exception while saving " + name, e);
				}
			}
			if (monitor.isCancelled()) {
				saveSelected = false;
			}
			Swing.runLater(() -> ChangedFilesDialog.this.close());
		}
Show ChangedFilesDialog.
@return whether the save button was selected; return false if the user
canceled
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/datatree/ChangedFilesDialog.java