The electrodes are always periodic in A and B, so if there is no vacuum gap, then the bonds are not dangling just because they appear to go outside the unit cell. They join with the next repeated copy of the cell. You can check this by setting the visual repetition to 2 or 3 in the Viewer or Builder.
Dangling bonds only appear when an atom doesn't have enough neighbors to create bonds for all its valence electrons. Dangling bonds are actually not visualized in VNL (because there are not atoms to bond to), so the way to detect if you have any is to count the number of shown bonds, and compare to the known valence. So, if you for instance make a graphene nanoribbon, the edge atoms will only have 2 bonds (2 neighbor C atoms), while all atoms in the middle of the ribbon have 3. So unless you add hydrogen on the edge, there will be dangling invisible bond.
But, as mentioned, if you see bonds sticking out of the cell, these are by definition not dangling but real bonds.