Added transition to modal