Dipolar interaction and its interplay with interface roughness