title: how to detect if the click is outside of bootstrap model and call the fumction if click is outside of model
body: <p><strong>I am try to call a function when mouse clicks out of bootstrap model.
  please, give me idea.</strong></p>
  
  <p>HERE IS THE IMAGE <a href="https://i.stack.imgur.com/6Tzi0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6Tzi0.png" alt="enter image description here"></a></p>