added delete confirm dialogue to image