We have a custom form and our site has a custom master page. In the custom form we load OOTB modal dialog to upload documents to a library. In some cases only, Add document link missing. We have checked in developer tool bar(F12), for the element it sets as display:none as shown in the image. Any suggestions to overcome this situation?