I have a button that when clicked sets a loading wheel background image to visible.

The problem is the background image is showing below the button, despite what I set the z-index to.

How's the best way to do this?

Basically I want a loading wheel image to overlay on top of the button, centered once the button text is clicked.