Added delete link and file name for no image attachments
Added edit popup from edit link for wp>3.5