Like Roguelike said:
"It should be saving to mods/(your mod name)/levels/(your level name)/Ai instead it's saving to mods/(your mod name)/Ai.... As a workaround, after you make changes and save, you need close the editor and copy the aigrid.data from where the editor is saving it to its correct location."