WIP: generic buttons and adding pages.