Made modal fade in

Modal was previously either appearing or disappearing while the overlay was fading. I made it so the modal fades at the same rate for a smoother transition.