The poll function doesn't apply here because it just checks for object editability and edit mode, object types, and modifier types. We shouldn't have a poll function at all because the hovered modifier might not be part of the context. Resolves #90008. Pull Request: https://projects.blender.org/blender/blender/pulls/131384