add buttons and modals to ui.