pairing-dialog: use a template to create the UI
wip: settings-row: port to use a template (bastien fix the margins)