How to prevent a dialog from closing when a button is clicked

How to prevent a dialog from closing when a button is clicked
Share: