Update table data when leaving pop-up window

I’ve figured out you can use system.db.refresh() to force a refresh of power table data, which is really handy, but I’ve got a case where I can’t figure out how to use it. I’ve got a power table showing some DB data in a maximized window, and a button to open a pop-up window to edit some fields of the selected record, then push to the DB. That part works, but I’d like the table in the previous window to immediately show the updated data when the pop-up window closes. So, how can I trigger an update of table data in another window?

Thanks y’all.

system.db.refresh(system.gui.getWindow(‘PathToWindowHoldingTable’).getRootContainer().getComponent(‘Power Table’),‘data’)