fixing popup trigger with links on centered popups