Flows and dynamos in a model of stellar radiative zones