I have two classes which creates two different dialog box. Both the classes have same code, except one has additional lines of code, which creates a checkbox

first Class, with Checkbox

[![enter image description here](https://i.stack.imgur.com/DDse3.png)](https://i.stack.imgur.com/DDse3.png)

Second Class, without Checkbox

[![enter image description here](https://i.stack.imgur.com/kXPsC.png)](https://i.stack.imgur.com/kXPsC.png)

There is slight alignment difference in "save" button. How can I fix this.