working add/edit/delete from panel