added download doc view and external link view