Fixing the dismiss when clicking outside of a modal bootstrap window.