I downloaded Google [push-sample-app code](https://github.com/GoogleChrome/chrome-app-samples/tree/master/push-sample-app), removed the key from the manifest, uploaded the app to the Chrome Web Store, then installed it in Chrome from the Web Store.

Now **chrome://extensions/** lists the app as "Enabled", with "*Inspect views: background page (Inactive)*".
Chrome Task Manager doesn't list the app as currently running.

If at **chrome://extensions/** tab, I click "*background page (Inactive)*" link for "Push Messaging Sample" app, then an inspect view shows up in a separate Chrome window, and a new entry appears in the Chrome Task Manager: "*Background Page: Push Messaging Sample*". As long as an inspect view Chrome window is open, an event page "background.js" doesn't get offloaded. And When a message is sent to the push messaging service, a popup window with the message text appears.

If I close the inspect view Chrome window, and send a message to the push messaging service, Chrome Task Manager shows that an event page "background.js" gets loaded, then offloaded in a few seconds disappearing from the Task manager. However, a popup window with a message does not appear.

How this app needs to be changed to show popup messages without any extra Chrome windows running?