You say you have added code for popup in Anomaly. What code is that, can you post a copy of it?
Perhaps what you have added is not what you actually need, or perhaps you are adding it to the wrong file?
To help we need to know what you have done.
So...is there a solution?