#JC-1533 changed UI of the Branch Edit Permission dialog: size have become larger. Refactoring of the html generating code of the dialog.