Using Add Directory...
If I select a subdirectory and select one or more items and click choose, next time I use Add Directory I end up back at the same place.
But if I don't select a sub-directory,the next time I have gone up a directory.
Current code persists the parent directory of the first (or only) directory selected.
I think the code would be better if the code does this if you select two or more directories but uses the entire path (rather than just the parent) if you select one directory.