fixed bug which allowed to have duplicates save in postsaveModules
Merge pull request #809 from Zentyal/jag/workaround-modified-on-save

fixed bug which allowed to have duplicates save in postsaveModules