Problem solved by Michael, here is the solution for people with the same problem:
If you use MB3 choose the Origin option in the menu. Then will see a check box Associative, it will not be checked, check it, then pick the geometry and your dimension will be attached to the geometry instead of...