Correctly edit/save/delete the images as we edit them.