fixes #2613
fixed reversion tests
Merge pull request #2617 from digi604/fix-2613

fixes #2613 (plugin edit marks page as dirty again)