ajax loading activities and injecting them into the popover