For the moment modales are displayed by a :target pseudo element when a anchor is targeted in the URL.
So for their closure, an <a href="./" is used to untarget the element, that make the page refreshing.
In Wordpress plugin, it redirects on general admin page when a modale is closed
We perhaps have to manage this in another way to avoid refreshing like in a modern one page application.
The solution could be to manage it in Svelte
For the moment modales are displayed by a :target pseudo element when a anchor is targeted in the URL.
So for their closure, an <a href="./" is used to untarget the element, that make the page refreshing.
In Wordpress plugin, it redirects on general admin page when a modale is closed
We perhaps have to manage this in another way to avoid refreshing like in a modern one page application.
The solution could be to manage it in Svelte