Modal frame overlay is non-blocking


The modal frame overlay doesn't block clicks etc. on the page elements that should be underneath the modal overlay.

For example in the image below I can interact with the button (same behaviour in preview mode and when the app is framed via react-retool).

Is there a property/css override that can make it so that the overlay prevents interacting with the elements underneath it?