Initial hook support for open custom dialogs.