How to open link in new tab with Canvas

How to open link in new tab with Canvas

Hey guys I'm trying to move our CRM to the new Canvas platform to make them look a little bit nicer. But I need buttons that open a URL in a new tab. I've tried things like `window.open(url)` but I get an error that says `window is undefined`.

Is there some other way  to access regular JS features with ClientScript? Or maybe a function built into ZDK?

Thanks guys