The job keeps running on the server
For video your plan includes, a server workflow drives each job to its end state, so it finishes whether or not the tab that started it stays open. The chat checks the job every few seconds. If the browser stops checking, the message says the video is still being generated and offers Resume checking. When the job ends, AGI records a notification and sends a push notice to devices registered for push.