Remove a Modify.
Arguments
index: index of modify to remove, in the order added. If -1, do nothing. (default: -1).
name: remove first modify with this class name, if not empty. (default: empty).
all: remove all modifiers (default: false)