I haven't done this yet, so forgive my ignorance and asking questions. I am puzzling through it as if building it myself.
Can you paste your code regarding the setOpenLink()? I think it may also depend on if you are using a new browser tab, or just an overlay. It may also depend on browser compatibility, so if all else fails, try running it in different browsers.