Allow the track info dialog to override the default lap number for a track

Already tested.