Moved delete button from panel to table div (onclick handler didn't work)