Fix confirm bug when dismissing the modal by clicking outside. Now there is a new feature to intentionally allow or not a modal to be disposable by clicking outside.