prevent user from reverting same edit twice