update row field inside popup on button clicked

Reading into a separate model worked for me!  I was able to use the initial context to set the Id of the current row on a secondary model, then create a record, then query that record to get the Id of the new record, then update a field on the “row in context” with the Id of the new record.   Prior to this I kept losing context, and my process was updating ALL records returned by the original model, which was a problem.