fix mods in EditMode

This fix feels somewhat hacky.  I may revisit it later.