How would I make a brush builder mark a level or package as needed to be resaved?

I have some brush builders that I use automate some tasks in the editor. They work fine, but when they change something, the editor doesn’t detect that the changes need to be saved. I have to go move something in the level or manually change something in the asset browser to force the editor to want to save the level/package. Is there a way to make the brush builder mark the level as having changes that need to be saved?

I have the same problem.