if this was read-only in Dashboard, i.e. not a clickable button whereby localStorage is then required, then a much much simpler solution would be:
This is great because it utilises the fact that ui-template (and every node/widget for that matter) store a this.msg variable in their Vue component, which represents the last received message, and is also populated when the Dashboard loads with whichever msg is found server-side in our statestore.