Google error fix

got rid of showModalDialog and replaced with window.open with catcher
function