Fix calls to createDialogByName.

Refs #9756