Not sure if anyone has had this issue, but I have a script saying:
The result upon opening the new window is sometimes "This record cannot be modified in this window because it is already being modified in a different window" which it isn't.
Except it may actually be true. New windows inherit the layout and some context from the previous window that was open. In your case, you are going to different layout, but it is based on the SAME table (plans) as the layout in the other window.
What would be better would be:
Go To Layout
Remember as well, going to a layout while in browse mode usually will fire the OnlayoutEnter AND the OnRecordLoad script step. If it can't open the record, it gives you an error.
Or ditch multiple windows completely because they're hard to manage and can result in odd behavior.
Retrieving data ...