Remove the direct call into core (DIALOG_DoDialogBox).