restore function submitEdition in foafWindows