Added animation to modal.