Use `window.open` instead of `window.showModalDialog`