Allows to remove new image before submission

This is useful if you click too many times on the "add image" button.