Added a sync button for document replication.