“Merge” button (“Aceitar”) will replace the embedded peerdoc with the diff of that peerdoc and its parent.
After diff is shown, the Merge button is replaced by a “Confirm merge” (Confirmar Aceita) button, which if clicked, will show the current confirmation modal.
-- If parent author does not want to continue with merge, must have a “Close” (“Fechar”) button in modal to exit process.
When diff is shown, commenting function will be enabled.
Add also a “Go back to editor” when diff is shown. (“Voltar para o Editor”)
-- Is this necessary if there is a “Close” button?
Add a message to emphasize what needs to be done to proceed with the merge or go back to editor.
-- If parent author does not want to continue with merge, must have a “Close” (“Fechar”) button in modal to exit process.