Yes, you need to commit the record, but when you do that, FileMaker loses focus on which portal row you were in (because you left the portal row), so it does not go to the right related record.
So first you need to capture the portal row number you are in, then commit the record, then go back to the portal row to go to related record.
If you have more than one portal on the layout, you will also have to tell FM WHICH portal you want to go to as well as the row. This is recommended even with one portal - if you start by naming the portal object, then when you add new ones, you won't have to go back and correct this script.
So, let's say that your portal is named "encounter_ros_portal", then your script would need to look like this:
If [ROS_Answer ≠ "Reports"]
Set Variable [$row ; Value: Get (ActivePortalRowNumber ) ]
Go to Object ["encounter_ros_portal"]
Go to Portal Row [row number by calculation ; $row]
Go to Related Record[From Table: "ROS" ; Using layout: "ROS Notes" (ROS); New Window
Close Window [Current Window]
That should solve this problem
Your the best!
Glad I could help!!