Modeling hydrogen dragging by mobile dislocations in finite element simulations