Observational constraints on modified gravity models and the Poincaré dodecahedral topology