Use of window.showModalDialog() is deprecated. Use window.open() instead. For more help https://developer.mozilla.org/en-US/docs/Web/API/Window.open
Upotreba window.showModalDialog() je zastarjela. Umjesto toga koristite window.open(). Za pomoć posjetite https://developer.mozilla.org/en-US/docs/Web/API/Window.open