Yes. This is happening because editor tries to update image but the old one is still in use. I'm trying to fix this.
I started figuring that out after posting. Isn't really related to the issue I posted, but the custom modifiers still crashes pretty consistently on apply after some use. No errors are written that I could see that are specific to that issue.
But I do appreciate the speedy reply.