title: jQuery removing mCsutomScrollbar from element
body: <p>Using <a href="http://manos.malihu.gr/jquery-custom-content-scroller/" rel="nofollow">mCustomScrollbar</a> on jQuery UI dialogs.</p>
  
  <p>If I initiate mCsutomScrollbar on $(window).load as proposed on the mCsutomScrollbar instructions, it does not work because my dialogs are not visible at that point. So I have to initiate mCsutomScrollbar on the open event of the dialog.</p>
  
  <pre><code>open: function() {
      $(this).mCustomScrollbar();
      }
  </code></pre>
  
  <p>Which works except when I open the same dialog a second time mCustomScrollbar is initialized for a second time when it already is initialized and breaks. I can see the custom scrollbar but I cannot scroll.</p>
  
  <p>So it seems I need a way to remove mCustomScrollbar on close or beforeclose event of the dialog. Not exactly sure how to do this.</p>