Button in TopBar

You wanna send a payload to the ui_template and change something for the button? Or do you want the ui_template to send out a payload (this is already working I assume)?