The agent wants control back:
Connecting
The agent finishes the step it is on and then stops. What it runs here is cancelled, and nothing runs until you take control or hand it back.
The text is typed in where the cursor is on the screen, so click that place first. Pasting with the keyboard does the same without this window.
They work even while your keys go to the screen.