Simple list, this list will do two simple functions:

-clicking on an X will delete its line (DONE)
-when the last item is removed, the button div should be automatically hidden/removed also. (DOESNT WORK YET)

Here is the full working code and demo, you can edit and post it back if you want:
http://jsfiddle.net/vazqjose/DPrqg/22/

Thanks...