Added generalised modal animation, class and blur effects.