The issue was that changing the area did not immediately update the `snode->edittree` when changing between different node editor types. That update only happened later in `node_area_refresh`. However, by that time, the `poll` function of the modal operator has already succeeded even though when there operator actually starts `poll` would not succeed anymore. Pull Request: https://projects.blender.org/blender/blender/pulls/129870