Not experienced this in previous versions of Trainz, but in this 2022 version, on my computer, there is an appreciable time lag (about 5/6 minutes) when you click on a Portal to configure it - rather like the wait when you Edit the Session and go to Add a New Rule. I was assuming the game had "hung" and kept crashing out of Trainz by Ctrl Alt Delete, but it seems to be simply loading up all the scripts. I found that by the time I've made a coffee, the white spline circles are spinning merrily once more and I'm able to edit the Portals. Hope that helps someone!