added save button to open in new window