How Do I implement the On Cancel with custom interfaces?

Hi @Shay,

I have logged a feature request for this.