# Treat closing the capture dialog as Cancel · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/3f7490a9d12d3ee8ddb4da1a360e70ed45015353)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: 3f7490a9d12d3ee8ddb4da1a360e70ed45015353

Requested commit: 3f7490a9d12d3ee8ddb4da1a360e70ed45015353

Commit: 3f7490a9d12d3ee8ddb4da1a360e70ed45015353

Tree: 183971bbbdf0e9f4171f287a0b1571193fd580c4

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Treat closing the capture dialog as Cancel

The progress dialog has a close button, and Escape closes it too. Either
left the capture running, and its cleanup then popped whatever route was
on top: the editor. Closing the dialog any way now cancels the capture,
and the cleanup pops the dialog only if it is still open. A test closes
it with its X and finds the editor still there and no files written; it
fails with the unconditional pop.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [67566b294dc90814dfbb5dc8f7707e93522c8cc1](https://git.cafe/dara/icarus/commit/67566b294dc90814dfbb5dc8f7707e93522c8cc1?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/3f7490a9d12d3ee8ddb4da1a360e70ed45015353?format=markdown)
