You can use a microflow button on the reference set grid instead of the add button and open a form with a template grid and again a microflow button to 'select'. The last microflow should refresh as well.
A trick might be to build a form with the enclosing entity of the main form also around the products form to know the reference.