It is used to remove an object with confirmation through a modal window. A modal confirmation window appears after clicking the button. Clicking the "Delete" button - deletes the object and the record. Clicking the "Cancel" button button closes the modal window, and the object is not deleted.
...