FEditorFileUtils::SaveDirtyPackages

Looks at all currently loaded packages and saves them if their "bDirty" flag is set, optionally prompting the user to select which packages to save)