folderui: check if a collection exists before creating folders