fix for down casting the throttle frame to dialog