Widget not loading in Permaview

Widget not loading in Permaview

I created a gantt using node.js widget.
it works great.
I want it full screen without the Creator navigation sidebad.
the only way I could find is to publish and open as permaLink.
but, the widget doesn't load when used in permalink.

using an external widget, I can see that the permalink sends a request to the server, but doesn't load and shows a blank white page.

alternativly, the gantt library I'm using has an export function, but it doesn't work.
I'm geussing it needs permission to open a new window from the widget by JS,
or maybe whitelisting URL is the issue. do i need to whitelist URL even on an external widget?