Change Button's size of Button Inside A Dialog

I have a dialog box and inside that I created a custom button Named Save. On v10 I was able to change class of button using jquery but same isn’t working on v11. This is what I was using in version 10


How to approach for the same in v11.
Here’s the preview of field (button) inside dialog (both of 10 and 11)
v10 v11

Any help/suggestions ??

Still waiting for some suggestion

I am having the same issue on V11. But when a radio button is clicked. Anyone has any solution on this?

Found the issue. If you do setTimeout to 1 sec it will work. I don’t know why is that. Somebody help.