LPS-43314 Validate root folder when documents and media, documents and media display and media gallery