Update js/bootstrap-modal.js

in some Cases 
Closing a modal throws an error, which occurs if backdrop is not clean generated.