• Get the dialog builder to create a new dialog

    Parameters

    • name: string

      The name of the dialog (title)

    Returns DialogBuilder

    const dialog = getDialogBuilder('Confirm action')
    .addButton({
    label: 'Ok',
    callback: () => console.warn('confirmed'),
    })
    .build()