Code for making the button position.

refs #31073