communication bewtween content and popup