I came up with a solution. The problem is that even if you set the wallpaper to static, there is still a click listener.
My solution is here. https://jsfiddle.net/25zbf094/2/
Javascript
$('#makeIndismissable').click(function(){ $('#myModal').prop('onclick',null).off('click'); }); $('#close').click(function(){ $('#myModal').modal("hide") })
I saved the HTML basically unchanged, but added the close identifier to the close button. And, as you can see above, you can still close the modality by clicking the X in the upper right corner.
source share