# feat: make modal more restrictive and more Esc freedom · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/8f6f4bc7caf09a4399a5f2b1fdf5c966b89bab15)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 8f6f4bc7caf09a4399a5f2b1fdf5c966b89bab15

Requested commit: 8f6f4bc7caf09a4399a5f2b1fdf5c966b89bab15

Commit: 8f6f4bc7caf09a4399a5f2b1fdf5c966b89bab15

Tree: c277456c6cb293958d39ce06b860178c5c3ee156

Author: r00ster91

Committer: r00ster91

## Message

```
feat: make modal more restrictive and more Esc freedom

This makes it so that you can no longer interact with the search bar
or the results or anything while the modal is open. That's why it's a "modal" and not a "dialog".

It also makes it so that you can now always press Esc to return to the results or the main page.
Previously this was only possible when the search field was active.

```

## Parents

- [9900413eb12a3eea74fff74025ae8c33d9425439](https://git.cafe/gitcafe/zig/commit/9900413eb12a3eea74fff74025ae8c33d9425439?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/8f6f4bc7caf09a4399a5f2b1fdf5c966b89bab15?format=markdown)
