On the finite element modeling of dislocation dynamics during semiconductor crystal growth