optimise result headings (groups REST call moved to modal open)