Confirmation Pattern deleting a comment in Google Suite

Context

I would like information about the current pattern to delete a comment from an app of the Google Suite.

Where and How to find it

Remove a comment made in Google Docs, Google Sheets, etc.

Google Sheet Confirmation Dialog. It says "Delete this comment thread?" with two buttons (Delete and Cancel)

Questions

  1. What's the name for this mini-modal window that Google is using for removing comments?

  2. What're the benefits of using this instead of a modal window? and when we should use one over the other??

Concerns

My guess is that they are looking for a way to have the confirmation UI closer to the action button (Fitts's Law). But, certainly, I don't know.