create confirmation message before deleting an image