Nested Collection inside a hidden modal breaks the display preference of modal's div on page load

Hey guys :wave:

Having some trouble on nested CMS on a hidden modal.

Whatever I had tried, still haven’t found any solution.

The modal is hidden by default and triggered by the menu card on the page. But the problem is, the modal appears as soon as the page starts loading, and shows the items afterwards then disappears. To avoid, I tried interactions, but no solution. Tried to set pre-loader, but no solution.

Appreciate any guidance…

Here is my public share link: Click

Here is a short video of the situation: Click

Thx a lot…

P.S.: Even I delete the nested collection, the problem stays.