updates to modal in transition