Capture in the capture's own coordinates; let the dialog close itself

Rebased onto the commit that gives captures their own coordinates: the
multi-page capture runs in them too, and no longer repairs the editor's
drawing paths afterwards, since the editor's coordinates are never
switched.

The progress dialog now closes itself when the capture is done. The
toolbar used to pop whatever route was on top, so a dialog opened above
it meanwhile (the debug log, F12) was closed instead and the progress
dialog stayed up with nothing left to close it. The dialog pops itself
when it is on top and otherwise removes just its own route. A test opens
another dialog during a capture and finds, when it finishes, only the
progress dialog gone; it fails with the old pop.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
c9a7401fa3Dara Adedeji committed on 10/19/2026, 4:10:12 AMparent2193a5f
4 files changedLine totals unavailable