Text this: Formation of near-defect excitons in alkali-halide crystals