recording modal add on transition end