@VivekSr1
From what I see, you're trying to define a custom dialog layout within a Content Fragment Model by using a cq:dialog node. However, this won't work because Content Fragment Models (CFMs) are not authored like components and do not use cq:dialog-based definitions.
In AEM, Content Fragment ...