Help with tables

I have an application where I have a table with 1 column and I have two buttons below it “+” and “-” I want to make it so when you click + it gives you a choose file dialog and then you choose a file and it adds it to the table. Then I want to be able to select an entry and press - and have it removed.

Any ideas?

thanks

EDIT: Nevermind… I have it figured out. Thanks anyway.