Ui_template mvc and scope of context/flow/global stores

where does button state exist ?