title: Modal only showing after the second click
body: <p>I'm developing in 1 component = 1 file style in vue2.</p>
  
  <p>I have a Table constructed via a Bootstrap-Vue Table Component, I'm using the provider to pass it an items.</p>
  
  <p>one of the columns contains modify buttons for each row. </p>
  
  <p>these buttons trigger a bootstrap-modal. </p>
  
  <p>I'm using a V-if to initialize the table and its properties.</p>
  
  <pre><code>&lt;b-modal  v-if='toShow' id="modalallergy" @hide="resetModal"&gt;
        &lt;h4 class="my-1 py-1" slot="modal-header"&gt;Allergie {{ modalDetails._id }}&lt;/h4&gt;
        &lt;b-container class="bv-example-row"&gt;
              &lt;b-row&gt;
                  &lt;b-col&gt;
                    identifiant : {{modalDetails.data.content}}
                  &lt;/b-col&gt;
                  &lt;b-col&gt;
                  Catégorie : {{modalDetails.data.content}}
                  &lt;/b-col&gt;
              &lt;/b-row&gt;
              &lt;/b-container&gt;
      &lt;/b-modal&gt;
  
      &lt;b-modal id="modalallergy-edit" @hide="resetModal"&gt;
        &lt;h4 class="my-1 py-1" slot="modal-header"&gt;Edition de l'allergie {{ modalDetails._id }}&lt;/h4&gt;
        &lt;pre&gt;{{ modalDetails.data}}&lt;/pre&gt;
      &lt;/b-modal&gt;
  </code></pre>
  
  <p>this is my modal and just above I have my button :</p>
  
  <pre><code>&lt;button class="btn btn-xs btn-success" @click.stop="details(row.item,row.index,$event.target)"&gt;
          &lt;span class="glyphicon glyphicon-search"&gt;&lt;/span&gt;
        &lt;/button&gt;
  </code></pre>
  
  <p>and below in the <code>&lt;script&gt;</code> and <code>methods</code> section I have my call :</p>
  
  <pre><code>details (item, index, button) {
    this.modalDetails.data = item
    this.modalDetails.index = index
    this.modalDetails._id = item.content._id
    this.$root.$emit('bv::show::modal', 'modalallergy', button)
  }
  </code></pre>
  
  <p>the issue is that only the second click on the button will trigger the modal opening. (The properties of the table have not been hydrated yet - at least not from the point of view of the button and modal.)</p>
  
  <p>I also tried using a Boolean and passing the params manually but in that case it doesn't open at all. </p>