Prevent change ion-toggle before confirmation

Here’s how I did this once.