STEPS TO REPRODUCE
- Go to an extension page (e.g. Help)
- Click 'More Actions' > 'Delete'
- Click 'Delete'
- When the warning is displayed, on the tree, tick a checkbox to select a document
The respective document from the tree is selected.
The page opens in a new tab. However, in the original tab, the page is selected.
The issue was reproduced by surli on XWiki 14.6 and I've also reproduced it on older versions of XWiki down to 12.10.7, but I couldn't reproduce it on XWiki 12.10.6.