How to allow modal closing by clicking outside the modal?

How do I allow the user to close the modal by clicking outside the modal? Right now it doesn’t close if clicked outside

Funny 2 years ago the opposite question was asked:

The default behavior of the modal is to close when you click outside. It won’t close on click when the “No close on click” option is enabled:

Oh, such option doesn’t exist in Bootbox dialogs :frowning:

You haven’t mentioned bootbox dialogs in your post. Bootbox dialogs are different than the modal component of Bootstrap 5.
Also - which of the bootbox dialogs are you using? There’s a close on click option available for the prompt component, not for the others:

Sorry about that, in my head I strictly saw it as a Bootstrap modal :wink:

I’m using the Confirmation one

Actually there’s close on close available for the confirm dialog as well:

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: