title: Modal View doesn't release itself after dismiss
body: <p>I've been facing a weird issue with dismissing a modal view.</p>
  
  <p>I present a modal view like this:</p>
  
  <pre><code> ResepiDetail *detail =(ResepiDetail*)[[ResepiDetail alloc]init];
   [self presentModalViewController:detail animated:YES]; 
  </code></pre>
  
  <p>and dismiss it like this with a back button:</p>
  
  <pre><code>[self dismissModalViewControllerAnimated:YES];
  </code></pre>
  
  <p>after this the view dismisses itself and goes back to the previous view, but it doesn't release itself from memory. I found it out by sending a notification message and that view received it. Additionally I tried to track the VM memory Allocation, and it seems the view is still in memory.</p>
  
  <p>I'm using ARC and have the same method used for another view which works perfectly.  </p>