Add preview functionality to the revision table