       showFrame.onload = onLoadSuccess
       # Somehow only lower case letters seem to work for those events --mark
       $(document).bind "modalready", onLoadSuccess
-      showFrame.src = "/facts/new" + "?fact=" + encodeURIComponent(text) + "&url=" + encodeURIComponent(siteUrl) + "&title=" + encodeURIComponent(siteTitle) + "&guided=" + encodeURIComponent(guided) + "&layout=client"
+      loadUrl "/facts/new" + "?fact=" + encodeURIComponent(text) + "&url=" + encodeURIComponent(siteUrl) + "&title=" + encodeURIComponent(siteTitle) + "&guided=" + encodeURIComponent(guided) + "&layout=client"
       showFrame.className = "overlay"
       onFactlinkCreated = (e, id) ->
         remote.highlightNewFactlink text, id

          showFrame.contentWindow.position top, left
      return # don't return anything unless you have a callback on the other site of easyXdm

$("iframe").preventScrollPropagation()

      showFrame.onload = onLoadSuccess
      # Somehow only lower case letters seem to work for those events --mark
      $(document).bind "modalready", onLoadSuccess
      loadUrl "/facts/" + id #+ "?layout=client"
      showFrame.className = "overlay"
      return # don't return anything unless you have a callback on the other site of easyXdm

