title: Tooltip + modal in button - bootstrap
body: <pre><code>&lt;button type="button" class="btn" data-placement="bottom" rel="tooltip" title="Info" data-toggle="modal" data-target="#myModal"&gt;&lt;/button&gt;
  </code></pre>
  
  <p>Got modal and tooltip in 1 button. After modal is being closed, tooltip is being shown. I don't want that. I'm trying to achieve with this code:</p>
  
  <pre><code>$('[rel="tooltip"]').tooltip('manual');
       if (!$('#myModal').is(':visible')) {
           $('[rel="tooltip"]').tooltip('hide');
       }
  </code></pre>
  
  <p>Whats wrong with this code?</p>