Changed window.open() to alert() message