Imagine I have a template with a button and a spinner next to it. How can I tell the spinner to show up when the button is pressed?