Changed method in control. Delete works, but edit dont.