Added edit button to image popup.