title: Image Insert error with Twitter Bootstrap 3 Modal and Tinymce Editor
body: <p>When I am loading tinymce in Bootstrap Modal.</p>
  
  <p>All the popup image insert, URL insert, Source code opions doesnot work.</p>
  
  <p><strong>Here is JsFiddle :- <a href="http://jsfiddle.net/n9e63/" rel="nofollow">http://jsfiddle.net/n9e63/</a></strong></p>
  
  <p>HTML Code :-</p>
  
  <pre><code>&lt;!-- Button trigger modal --&gt;
  &lt;button class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal"&gt;
    Launch demo modal
  &lt;/button&gt;
  
  &lt;!-- Modal --&gt;
  &lt;div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"&gt;
    &lt;div class="modal-dialog"&gt;
      &lt;div class="modal-content"&gt;
        &lt;div class="modal-header"&gt;
          &lt;button type="button" class="close" data-dismiss="modal" aria-hidden="true"&gt;&amp;times;&lt;/button&gt;
          &lt;h4 class="modal-title" id="myModalLabel"&gt;Modal title&lt;/h4&gt;
        &lt;/div&gt;
        &lt;div class="modal-body"&gt;
            &lt;textarea class="form-control" id="message"&gt;&lt;/textarea&gt;
        &lt;/div&gt;
        &lt;div class="modal-footer"&gt;
          &lt;button type="button" class="btn btn-default" data-dismiss="modal"&gt;Close&lt;/button&gt;
          &lt;button type="button" class="btn btn-primary"&gt;Save changes&lt;/button&gt;
        &lt;/div&gt;
      &lt;/div&gt;&lt;!-- /.modal-content --&gt;
    &lt;/div&gt;&lt;!-- /.modal-dialog --&gt;
  &lt;/div&gt;&lt;!-- /.modal --&gt;
  </code></pre>
  
  <p>Here is Javascript Code :-</p>
  
  <pre><code>tinymce.init({
      selector: "textarea#message",
      theme: "modern",
      plugins: [
          "advlist autolink lists link image charmap print preview hr anchor pagebreak",
          "searchreplace wordcount visualblocks visualchars code fullscreen",
          "insertdatetime media nonbreaking save table contextmenu directionality",
          "emoticons template paste textcolor colorpicker textpattern"
      ],
      toolbar1: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image",
      toolbar2: "print preview media | forecolor backcolor emoticons",
      image_advtab: true,
      templates: [
          {title: 'Test template 1', content: 'Test 1'},
          {title: 'Test template 2', content: 'Test 2'}
      ]
  });
  </code></pre>
  
  <p><strong>JsFIDDLE URL :- <a href="http://jsfiddle.net/n9e63/" rel="nofollow">http://jsfiddle.net/n9e63/</a></strong></p>