another small helper to remove a document by ID