Merge pull request #894 from jay-hodgson/release-36

SWC-1270: fix link href when external file handle (cherry-pick change up to release from develop)
catch any errors that occur when trying to open a new window