finish edit, delete