Add a class to the body tag if a modal is active.