In That case just look for 3 nodes as siblings with names some what similar to layout ,ID , BackgroundColor under cq:dialog.Copy layout node and paste it as sibling to to these 3 nodes. You can further read this article for better understanding:https://aem.redquark.org/2018/10/day-07-creating-your-f...