Delete objects on id click