Added an alert for when all documents are added to the collection