Here is my sample code. I created code here please see my working code here
I tried to set up position for a dialog box
dialogConfig.position = { top: