How to close tab in SM with KM document after moving to any phase?

Hi everybody,

We have HP SM 7.x upgraded to 9.3x, PD exists only for KM.

Let's take an example:

- open Published documents and choose any KB document in the list and press 'Retire' button

KB document disappears from the list but the KB document is still displayed in the tab, now it's in "retired" status

It's possible to close the tab with this KB document manually clicking on 'X'.

The question is how to close the tab with the document after pressing 'Retire' button?

I've tried to call in trigger record.doAction("cancel"), record.doAction("menu"), record.doAction("back") - error is displayed: "This record has changed since you selected it".