add dynamic content to details modal