added ability to save image from one submit button