You’re welcome.
I know that there have been some development of a Storage component in Dash, such that users can share data between states. I believe it can help you on the way. See:
Personally, I have implemented storing data in a hidden Div, but that was before this storage component was released. I would think that is the correct way to implement such shennanigans today.
If you have not yet found it, the hidden Div method is described in the documentation as well.