There's nothing worse than something minor going wrong with your bike, as these faults are often the hardest to identify and fix. Often it will be something to do with the electrics.
If this turns out to be the case, here's a great selection of dirt bike electrical parts.