Improved the modal overlay fadein animation