Set up popup/background communication