You can take a flag for close button.Mark true after.choice.
Then you can use disable.satellite function.
Please find below description.
function void disable.satellite (const string session.code)
This disables the specified satellite. The TAB on which the satellite is shown will become disabled. When this TAB is currently active, another TAB will be selected. Initially all satellite TAB buttons are enabled.
This function is relevant in multi-main table controller sessions only.
const string session.code The index identifier. If this is 0, the field is not associated with any index. It is always a view field.
This function is implemented in the 4GL Engine and can be used in all script types.
Use the function enable.satellite() to enable a satellite TAB which was disabled.
The focus will change to the first enabled satellite as defined by WorkTop. To avoid this behavior, enable satellites before disable satellites. Change the focus with to.satellite()