animation for modal - part 2