Prevent change ion-toggle before confirmation

#1

Hi people I have an ion-toggle:

 <ion-toggle (ionChange)="updateAviableStatus($event)" [checked]="_driver.data.driver.aviable"></ion-toggle>

When I try clickit it changes without wait the option of confirm alert
How can prevent ion-change change and do it by myself into a method

Any idea … ? thanks for time

#2

Here’s how I did this once.