Understanding the impact of divertor and main chamber ion fluxes on divertor closure in the DIII-D tokamak