How to add cssClass to dialog confirm

I’m trying to ass a css class to a confirm dialog
i set this in my app init
dialog: {
buttonOk: ‘نعم’,
buttonCancel: ‘لا’,
cssClass: ‘ios’,
bold: true
and its not adding the css class.
and there is no place to add a css class in the shortcut

You cannot add class to alert, confirm,… Use app.dialog.create(parameters)

but why the add class in app init not working on confirm?
is this by design?

there is no cssClass

You can in app init:

on: {
dialogOpened: function (e) {
const $el = e.$el;

this works with alert / prompt /…


i add it to dialogOpen and tis working great!