Opened a new window on button click