replaced iframe with window.open