Work on header buttons and register dialog.