Do not reinvent the wheel and use addCheckboxGroup()
when building dialog