Just when I think I've got collections down, something comes along and messes me up. On prem 9.01.01 CSI. I'm working on as form to allow users to request items from our stockrooms using CSI. Requests get submitted, and the stock personnel can then process them.
This is my current 'work in progress' form:

I currently have 3 collections. The Primary is for all the information not inside the Grid. I'm using Form Pages to display the correct fields in "Item Destination" (Currently, Quantity Move, Misc Issue or Job Material Issue).
II can click "New" and enter in all the information correctly and get a new record saved. Two strange things are happening though:
1. The newly added data doesn't disappear from the left half of the screen on save. (I'm pretty sure it's something I'm not doing)
2. If I save the entry and then try to close the form, I get an error message asking me if I want to save my changes prior to closing.
I've gone over my code, and I don't see anything modifying any values post save. I've tried using the build in debugger but it's hard to navigate (need to reduce options). Has anyone seen something similar happen? How did you fix it?