Fully decoupled popup from background page.