Modular flow as a disentangler