Allow breakout links from Kalamar

Change-Id: I0be44caf0b2482681ab68c01172629840a69608f
diff --git a/assets/manifest.json b/assets/manifest.json
index 9470441..712a056 100644
--- a/assets/manifest.json
+++ b/assets/manifest.json
@@ -7,10 +7,10 @@
     "classes" : ["cart"],
     "onClick" : {
       "action" : "addWidget",
-      "template" : "http://localhost:3003/demo/plugin-client.html",
+      "template" : "https://korap.ids-mannheim.de/instance/test/plugin/external/",
       "permissions": [
         "scripts",
-        "downloads"
+        "popups" 
       ]
     }
   }]
diff --git a/templates/main.html b/templates/main.html
index 0287705..bb854e0 100644
--- a/templates/main.html
+++ b/templates/main.html
@@ -30,7 +30,7 @@
                 document.getElementById("buy").innerHTML = "External provider unknown."
               } else {
                 var ret = this.responseText.split(",");
-                document.getElementById("buy").innerHTML = "You can buy this text from <a href=\"" + ret[1] + "\" class=\"external\">" + ret[0] + "</a>.";
+                document.getElementById("buy").innerHTML = "You can buy this text from <a target=\"_blank\" href=\"" + ret[1] + "\" class=\"external\">" + ret[0] + "</a>.";
               }
               P.resize();
             }