code: function addLinkTooltips(elementOrDialog) {
          var $element;
          if (elementOrDialog.getElement) {
              $element = elementOrDialog.getElement().find(".dialog-message");
          } else {
              $element = elementOrDialog;
          }
          $element.find("a").each(function (index, elem) {
              var $elem = $(elem);
              var url = $elem.attr("href");
              if (url && url !== "#" && !$elem.attr("title")) {
                  $elem.attr("title", url);
              }
          });
      }
docs: Ensures that all <a> tags with a URL have a tooltip showing the same URL
  @param {!jQueryObject|Dialog} elementOrDialog  Dialog intance, or root of other DOM tree to add tooltips to