added onclick to delete items, but still broken because no fid in json response