Close the edit mode after running move to dialog, not before.
[modest] / src / modest-plugin-factory.h
2008-09-22 Jose Dapena PazMerged the new plugin system from branch plugin-system.