not finished; trying to pass messages from popup to content
now the message passing works