Dialog: Don't hard-code widget data key. Fixes #9097 - UI dialog inheritance.