Add general modifier for text and other elements.