@twMat great easy to use solution.
If anyone uses it and gets in a muddle they can use this tool edit-recent-sidebars.json (3.2 KB) to edit the tiddler from a sidebar list.
I think your elegant trickery could be further developed to be even more versatile or other tricks used to get it to operate elsewhere;
- Use in view template conditionally
- Apply to system tiddler without editing them
- Introduce other non button elements
It also hints at the idea of a data tiddler that lists elements and the matching class/selector for use in hide and other CSS customisations.