title: VueJS <b-modal> inside component won't open on button click
body: <p>I use <code>vue-tables-2</code> and <code>bootstrap-vue</code>. I've created a component which is a column in <code>vue-tables-2</code> and it consists of button and modal code. </p>
  
  <p>The problem is that this way, the modal is not opening when you click on the button and I don't know why. </p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I found out that when I hardcode buttons attribute,it works. It just doesn't work when <code>v-b-modal.modal-something</code> is generated by <code>vue</code>.</p>
  
  <p>This is a component:</p>
  
  <pre><code> Vue.component('vue-tables-2-product', {
          delimiters: ['[[', ']]'],
          props: ['data', 'index', 'column'],
          template: `&lt;div&gt;
                  &lt;b-modal v-bind="modal_attrs" title="BootstrapVue"&gt;
                      &lt;p class="my-4"&gt;[[ this.data.name ]]&lt;/p&gt;
                  &lt;/b-modal&gt;
                  &lt;b-button @click="log" v-bind="button_attrs"&gt;Detail&lt;/b-button&gt;&lt;/div&gt;`,
          methods: {
              log: function () {
            console.log(this.data)
              }
          },
          computed: {
              button_attrs() {
                  return {
                      [`v-b-modal.modal-${this.data.id}`]: "",
                  }
              },
  
              modal_attrs() {
                  return {
                      [`id`]: "modal-"+this.data.id,
                  }
              },
  
  
          }
  
      })
  </code></pre>
  
  <p>And this is templates from the <code>vue</code> app.</p>
  
  <pre><code>templates: {
          on_stock: 'boolean',
          is_active: 'boolean',
          name: 'vue-tables-2-product',
          import_export_price_diff: 'vue-tables-2-difference'
  }
  </code></pre>
  
  <p>Do you know where is the problem?</p>
  
  <p>EDIT:</p>
  
  <p>I also tried to add <code>this.$bvModal.show(this.data.id)</code> into the <code>log</code> function and nothing happens.</p>
  
  <p>I noticed that