If after modal hide, faded background is remained and does not let you click any where you can forcefully remove those by using below piece of code.
First hide (all) your modal div elements.
$('.modal').modal('hide');
Secondly remove ‘modal-open’ class from body and ‘.modal-backdrop’ at the end of the page.
$('body').removeClass('modal-open');
$('.modal-backdrop').remove();