Added yield() in event of transition being cancelled, so thatonCancel listener will clear okay