How to allow modal closing by clicking outside the modal?

It doesn’t seem to be doing anything, I guess that’s a bug?

Marking answer as solved regardless, thanks!

Opened a bug report here: