catch window.open calls