getDocumentUrl: added warning div where needed