I am trying to figure out how to place a component with a button press

By the way, I had written a couple of examples here previously: