I think it makes sense the dialog is the big abstraction and modal is a specific implementation of it.