Getting rid of cancel button in Button Widge

Hi,

I have created a pop-up message when the button is clicked. But I want the pop-up message should have only one button, But I am getting 2 buttons, one for confirmation another for the cancellation. I have tried to comment the line, put nothing into it, but nothing works out. Below is my code:

a!buttonWidget(
label: "?",
confirmheader: "Thanks for clicking",
confirmButtonLabel :"Okay",
cancelButtonLabel :""
)

  Discussion posts and replies are publicly visible