Confirm dialog

On the grid we have these properties:

Which produces this confirmation dialog when deleting a record:

Is there a way to use that modal dialog in other contexts in the app (outside the grid delete event)?