Add closed tag to the image and close deal function.