Don't show revert option for modified folders.

@dinhviethoa  PTAL thanks.