title: Semantic UI Modal dialog not closing properly
body: <p>I'm using Semantic UI (<a href="http://semantic-ui.com/" rel="nofollow noreferrer">http://semantic-ui.com/</a>) as the front end CSS library and also AngularJS. In my application, I used modals to manage data input and views. There's a problem. I am opening and closing modals using following commands. </p>
  
  <pre><code>$('#addNewEpisodeModal').modal('show');
  $('#addNewEpisodeModal').modal('hide');
  </code></pre>
  
  <p>But sometimes when I close the modal, it's not closing properly. Modal dialog closing, but there's a black dimmer (background) not closing. And I will show you how it's working. This is my modal when I open it. </p>
  
  <p><a href="https://i.stack.imgur.com/h6aMJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/h6aMJ.png" alt="enter image description here"></a></p>
  
  <p>And this is the view when I close that modal. The dimmed background is not closing. Can anyone tell me what's the problem here ? </p>
  
  <p><a href="https://i.stack.imgur.com/0uFEF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0uFEF.png" alt="enter image description here"></a></p>
  
  <p>I have to refresh the page in order to make it working again. What's the reason for this ?</p>