Dipolar vortices in a strain flow