added the save action

can save image now