Employee was talking to the skid-loader driver about what rocks should be put on the rack to be chopped. Said employee was bantering with the skid-loader driver, the driver then reached up to shut the loader door when the driver's left arm hit the controls making the loader move forward. At this time said employee did come in contact with the skid-loader running over Rt leg.