Add buttons and document.