Add buttons to persist document.