Add Button on UI Dialog

Add Button on UI Dialog


Hello ppl!
I would like to know if is there a way to add or remove buttons on a
UI Dialog "on-the-fly"?
Thank you!