Issue with dynamically hiding modals

I’m having a bit of an issue with the Bootstrap 5 dynamic modals. I am setting a “Hide” dynamic attribute for a modal where the condition is based on whether a variable has a value.

The expression works fine and the modal disappears as expected, but the overlay backdrop remains and nothing under it can be clicked. Setting the modal so that it has no backdrop results in the same issue (just without the backdrop overlay)

Community Page
Last updated: