Dipole monolayer behaviour in the presence of electrodes