Quantum simulations of localization effects with dipolar interactions