Open and Write to a new window