TrainTypeDialog bugfix