Extension function to apply changes to a Modifier if a predicate is not matched.
Modifier with or without changes depending on the predicate
which should not be matched
apply changes to the given Modifier