modal: make block (closes #798)

- [x] main idea
- [x] bh templates + tmpl-specs
- [x] specs
- [x] gemini tests
And set it to popup in runtime? We don't have api for that. It's better to keep `block.params` in readonly, isn't it?