A maintenance technician was working on the latch bar mechanism on the dipper of an electric rope shovel. A small chunk of dirt fell from the dipper door striking the individual which caused the individual to lose their balance and striking EE's mouth on the end of the crowbar. The impact caused a cut lip which required stitches.