The idea here is that there is a checkbox next to each photo image in each of the 3 single row portals. When you click in the checkbox for the specific images that you want and then click on the Catalog button the layout is supposed to show just those items which it does However you must click outside the portal for the X in the checkbox to stick. Is there a scriptstep to run that will update so we don't have to click outside the portal first before clicking the Catalog button.
"Click Outside the portal" commits the record. Thus, a script with commit records should do the same thing. You might turn your checkboxes into buttons that set the needed value to the needed record/field and then commits records to update the layout.