changes for opening new window