Added animation to modal