trying to window.open after the report generation