Simple loader question

I did the Loading Pictures Dynamicallytutorial, which I found to be quite easy. It’s just a picture that loads behind the button which clicked it.

This works fine, however I want the image to load in a layer that would be in front of the buttons.

My question is this…How can the loader be modified so that when the image (that was loaded) is clicked will be unload(and thus, allowing the buttons to be visable again)?