title: Callback of chrome.tabs.create is not triggered in a popup?
body: <p>I am writing my first chrome extension, which should open an URL in a new tab and after that do something.</p>
  
  <p><strong>manifest:</strong></p>
  
  <pre><code>{
    "manifest_version": 2,
  
    "name": "Test",
    "description": "",
    "version": "1.0",
  
    "browser_action": {
      "default_icon": "icon.png",
      "default_popup": "popup.html"
    },
    "permissions": [
      "tabs",
      "activeTab"
    ]
  }
  </code></pre>
  
  <p><strong>script.js:</strong></p>
  
  <pre><code>function toggle() {
          chrome.tabs.create({ url: "http://google.com" }, function(tab) {
          alert("Hello!");
          });
   }
  
  document.getElementById('toggle').addEventListener('click', toggle);
  </code></pre>
  
  <p><strong>popup.html:</strong></p>
  
  <pre><code>&lt;html&gt;
    &lt;head&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;div id="toggle" class="clickable"&gt;START&lt;/div&gt;
      &lt;script type="text/javascript" src="script.js"&gt;&lt;/script&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>The problem is that nothing happens after the URL is opened. What can be the problem?</p>