edit window, delete record