bind details template with url and popup link