UI to clear trains from Dispatch Panel

Clear buttons added to train list section of dispatch panels that will
clear out the train id for the associated train label.  Buttons are
hidden if no train is associated with the label. (Also eliminates
confusing Safari workaround in prompt dialog.)