When user clicks on any item of this list, chosen work object must be open and modal dialog must be closed.
How it works:
This works fine in two cases:
1. Chosen work object is not opened already on any tab.
2. Chosen work object is opened already in a tab and when reopening confirmation message appears, user clicks OK. Modal dialog is closed.
But there is a third case:
3. Chosen work object is opened already in a tab and when reopening confirmation message appears, user clicks CANCEL. When this happens modal dialog is closed (as it is configured), focus is on the opened chosen work object.
So the question is: is there any solution for this case? Some work object is already opened. User opens this list of work objects, chooses the same work object. Confirmation window apppears, user clicks CANCEL, confirmation message is closed, modal dialog must be opened.