Fixes #6352 adding a folder comparison method to check for changes and

validating those changes on the edit action.