title: Problems with nicedit and jquery dialog modal - Add link button form is not selectable
body: <p>I have some troubles using nicedit with jquery dialogs.</p>
  
  <p>The problem is this:</p>
  
  <p>When I create a jquery dialog (modal), on open event init wysiwyg editor (nicedit) -> everything is ok.
  But, if I click on the add link button, I can't click on the inputs that appears.</p>
  
  <p>If I set the jquery dialog no modal, works perfectly.</p>
  
  <p>This is my example:</p>
  
  <p><a href="http://jsfiddle.net/ws97R/16/" rel="nofollow noreferrer">http://jsfiddle.net/ws97R/16/</a></p>
  
  <pre><code>&lt;div id="dialog" title="test" style="display:none;"&gt;
      &lt;form&gt;&lt;textarea id="editor"&gt;&lt;/textarea&gt;&lt;/form&gt;
  &lt;/div&gt;
  &lt;input type="button" id="test" value="open dialog wysiwyg"/&gt;
  
  $('#test').click(function(){
      $('#dialog').dialog({
          width:400,
          height:400,
          modal:true,
          open: function() {
              new nicEditor({ 
                  minHeight: 220, 
                  maxHeight: 220, 
                  buttonList: ['link', 'unlink']
              }).panelInstance('editor');
          }
      });
  });
  </code></pre>