I have occasionally experienced this (very frustrating) behavior as well. I have found that, once in this loop, you either need to go do something else (in another window, program, etc) and then come back, or else you need to make sure you've edited something inside the box (even if it's just adding an unnecessary space).
Hope that helps a bit.
Eliz.