Use of window.showModalDialog() is deprecated. Use window.open() instead. For more help https://developer.mozilla.org/en-US/docs/Web/API/Window.open
Notkun á window.showModalDialog() er úreld. Notaðu window.open() í staðinn. Fyrir meiri upplýsingar https://developer.mozilla.org/en-US/docs/Web/API/Window.open