listen external message to popup