Hide/show db2 subflow instances on different pages

Hi,

Suppose i want to create a dashboard footer and re-use it on each page. A logic solution to me would be to put all of my footer elements in a subflow and use an instance for each page. On top of that, on a certain page, one element can not be shown, so the footer is dynamic and depends on which page it is shown. Can all of this be done using subflows, context variables and ui-control? I have read the documentation about this topic Subflows | Node-RED Dashboard 2.0 but the example is about variations on the same page, using different groups. So not exactly the same.

Sounds you need to teleport the footer: Template ui-template | Node-RED Dashboard 2.0