edit modal and delete working