Not sure of the exact reproduction steps. Could be: 1. Open child model 2. Close it 3. Open a different child model 4. Attempt to edit the code of the second model When I did this, the code of the first model was displayed instead.