Fixed minor bug

Could occur if the user clicked on Cancel right before the TrackSelector
window was displayed.