bugfix where popup was sometimes not detected as the popup - now using a classic URL match