update delete button

if you push delete buttons on popup.html, you can delete element of
image and save all images checked except them