modify the new window