modal: make block (closes #798)

- [x] main idea
- [x] bh templates + tmpl-specs
- [x] specs
- [x] gemini tests
Looks cool! But as @mishanga said it would break in cases where `modal` is a child of `page` from it's start (for example there could be an example of block usage).