Sample of possible solution to swap out window.showModalDialog with help of jQuery and jQuery UI from old code