With the same attach browser activity check with the selector
Click on selector property of that activity and see which part of selector looks dynamic for each pop up window
Replace that dynamic part alone with a wildcard symbol *
And give a try
Have a view on this doc for more details