DeleteBranchDialog: small fix.
BranchesWidget: update list when delete branch.