How to check is a run is complete in a flow

But you don't need a flow for that :slight_smile:
Use the data detail region in your modal. On click of the button add two dynamic events - set detail region ID and open modal.
Bind the values in your form inputs, using data detail as a data source.