Honor config option messagesOnModified when decorating element with css.