Fix selector for folderListing in dialog preview
Add barrier to conditional so non-images aren't included in gallery