infatti è window.open che è lasciato da solo, dovresti associarlo ad un javascript.