How to dismiss an <ion-modal> (declared without the controller)

How to dismiss a modal declared with the <ion-modal> component :

<ion-modal
    ref="myModal"
    :is-open="isOpenRef"
    css-class="my-custom-class"
    @didDismiss="setOpen(false)"
  >
    <Modal :data="data"></Modal>
  </ion-modal>

I have tried to call this.$refs.myModal.$el.dismiss() without success.

Whoa, I need some sleep…

<ion-modal
    ref="myModal"
    :is-open="isOpenRef"
    css-class="my-custom-class"
    @didDismiss="setOpen(false)"
  >
    <Modal :data="data" @close="setOpen(false)"></Modal>
</ion-modal>