Layout of first dialog box is: layout: 'hbox', align: 'strech'
Layout of second dialog box is : layout: 'hbox'