Is there a specific tag, setting, xrecord etc. that you are aware of that causes the page setup window to pop up when a new layout is accessed for the first time? The reason I ask is because if you reset the variables prior to clicking on the layout, the new page setup window is still displayed. I cannot utilize (well not easily anyway) an event reactor because the programming will be compiled into a dll.
I have went as far as to dump a DXF of a drawing with 2 layouts, one selected and one not, then compare the ooutput, but I still have not found the slightest hint how to resolve this issue.