Fixed github issue

https://github.com/burhanahmeed/vue-modal-2/issues/4