Refactor infra/hosts to use web_ui.form_buttons