2D dislocation dynamics in thin metal layers