added save functionality.  opens image of tree in new window