this seems close to what i need, however i need it so that if they drop the items then it will remove the buttons....and what i mean by delete all buttons is, that once someone has chosen a button (which is linked to a recipe to make a item) then the entire dialog will be wiped.
edit:: solved it myself.