Use of window.showModalDialog() is deprecated. Use window.open() instead. For more help https://developer.mozilla.org/en-US/docs/Web/API/Window.open
window.showModalDialog() izmantošana ir novecojusi.  Izmantojiet window.open(). Papildus informācija https://developer.mozilla.org/en-US/docs/Web/API/Window.open