Dialog show Ok button only

I am using dialogService to show a dialog box.
But is there any options to show only Ok button?
I tried to write this but still show two buttons:

dialogService.Confirm("Upload successfully", "Notification", new ConfirmOptions() { OkButtonText = "OK" }))

Hi @t.leung,

Confirm dialog will always show two buttons - you can create your own custom dialog:

Hi, thanks for your prompt reply. The information is very useful and it works for me.
But can I modify the layout of the dialog?
It shows box in box. The content is in the second inside box.
I try to set class="border-0" to the RadzenCard but I still can see box in box.
<RadzenCard Style="margin:0px; padding: 0px;" class="border-0" >

Also, how can I adjust the width of the dialog?
Many thanks again.

Capture

Maybe you don't need RadzenCard at all and you can use simple <div>