title: Uncaught TypeError: Cannot read property 'remove' of undefined
body: <p>Not worked &amp; not remove a pop_up window</p>
  
  <pre><code>function add_comm(){
  if($("#fio").val().length&gt;0&amp;&amp;$("#ms_comment").val().length&gt;0){
      $.post('/send.php',{subject:"Комент",message:"FIO: "+$("#fio").val()+"&lt;br /&gt; Comment: "+$("#ms_comment").val()+"&lt;br&gt;"});
      $(".bs-example-modal-sm").modal("show");
      $('.bs-example-modal-sm .modal-content')[0].remove();
      $("#ffrr").html('We call U');
  }else{
      alert('Warning');
  }
  }
  </code></pre>
  
  <p>HTML </p>
  
  <pre><code>&lt;button type="button" class="btn btn-default" onclick="add_comm(); return true;"&gt;Send&lt;/button&gt;
  </code></pre>