I managed to use the following snippet to hide the model overlay, just hiding the modality when the event fires shown.bs.modal.
<script type="text/javascript">
$('#modal-id').on('shown.bs.modal', function () {
$(".modal-backdrop.in").hide();
})
</script>
source
share