Popup stopped working after page change

Dear Radzen Team,

I have implemented a pop exactly based on the below link. It is working fine at the application startup, but when i navigated to a another page it stop working (popup is not showing even though await popup.CloseAsync(); called)

[Blazor Popup Component | Free UI Components by Radzen]
2024-08-09_16-52-06
I have places this component in the Maillayout. There are no errors showing either in the page or in VS.

Please help to investigate the issue.

You can compare your implementation to our demos where everything works as expected.