How to correct the dangling dimensions
In theory by dragging the dimension node back on to the line or corner that it was on.
In practice, remove the dangling dimension and put a new one down because the re-attaching of a dimension seldom works.
See Why is my Drawing Dimension a Weird Yellowish-Brown Color?
Retrieving data ...