ArrayList<UnsavedChangesTarget> unsaved =
new ArrayList<UnsavedChangesTarget>();
if (saveAction == SaveAction.SAVEASK)
unsaved.add(globalEnvTarget_);
unsaved.addAll(unsavedSourceDocs);
new UnsavedChangesDialog(
caption,
unsaved,
new OperationWithInput<UnsavedChangesDialog.Result>() {
@Override