Blank page after open/close dialog

Hello,
I’m working on a Streamlit project in and with Snowflake.
I use the “st.dialog” feature a lot to display filters and configuration options.
However, after a while, when opening or launching the “st.rerun” function to close the dialog, I end up with a blank page.

Do you have any idea what’s wrong?
Is it a cache problem, an overuse of the “rerun” function or the limits of the dialogs?

Streamlit version: 1.35.0