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