Dialog Confirm Different Button Layouts

I’m currently coding DialogConfirm.xml and am trying to have different button sizes depending on whether it’s an OK, Yes/No or Progress dialog. This is my code…

Code:
            
            <!--ok buttons-->
            <control type="group">
                <visible>Window.IsVisible(OKDialog)</visible>
            
                <!--buttons-->
                <control type="grouplist" id="9000">
                    <left>-15</left>
                    <bottom>-15</bottom>
                    <width>1040</width>
                    <height>120</height>
                    <align>left</align>
                    <orientation>horizontal</orientation>
                    <itemgap>-30</itemgap>
                    
                    <!--ok-->
                    <include content="Dialog.Popup.Button">
                        <param name="id" value="11" />
                        <param name="label" value="" />
                        <param name="width" value="1030" />
                    </include>
                    
                </control>
                
            </control>
            
            <!--yes / no buttons-->
            <control type="group">
                <visible>Window.IsVisible(YesNoDialog)</visible>
            
                <!--buttons-->
                <control type="grouplist" id="9000">
                    <left>-15</left>
                    <bottom>-15</bottom>
                    <width>1040</width>
                    <height>120</height>
                    <align>left</align>
                    <orientation>horizontal</orientation>
                    <itemgap>-30</itemgap>
                    
                    <!--yes-->
                    <include content="Dialog.Popup.Button">
                        <param name="id" value="11" />
                        <param name="label" value="" />
                        <param name="width" value="530" />
                    </include>
                    
                    <!--no-->
                    <include content="Dialog.Popup.Button">
                        <param name="id" value="10" />
                        <param name="label" value="" />
                        <param name="width" value="530" />
                    </include>
                    
                </control>
                
            </control>
            
            <!--progress buttons-->
            <control type="group">
                <visible>Window.IsVisible(ProgressDialog)</visible>
            
                <!--buttons-->
                <control type="grouplist" id="9000">
                    <left>-15</left>
                    <bottom>-15</bottom>
                    <width>1040</width>
                    <height>120</height>
                    <align>left</align>
                    <orientation>horizontal</orientation>
                    <itemgap>-30</itemgap>
                    
                    <!--cancel-->
                    <include content="Dialog.Popup.Button">
                        <param name="id" value="10" />
                        <param name="label" value="" />
                        <param name="width" value="1030" />
                    </include>
                    
                </control>
                
            </control>

It works fine for OK and Yes/No. when it’s an OK dialog it’s one full width button, when it’s a Yes/No it’s two half width buttons. It isn’t working properly for Progress though. The full width button is there but it never has focus. Any ideas why?

Also if someone could shed some light on what I’m meant to do with the id=”12″ button that would be great, I’ve taken it out for now but if it’s something that’s gonna come into prominence in the near future then it would be good to know!

Thanks