i guess there is no reason to disallow renaming when the file is modified, but revert should only be allowed when modified