Well, onafterclose ensures that the transition has already occurred.