[BISERVER-11189] - Hyperlink - when using a URL to create a hyperlink in...

... analyzer report, after opening a new tab with hyperlink, new tab cannot be closed.

* Fixed 2 XSS bugs.
* One was blocker and prevented closing the tab (the issue).
* The other wasn't blocker, but happened every time the tab was opened.

@pamval please review.