Your comments

This might not be covered by your project scope, but the New Tab Redirect (by Jim Schubert, not the knock-offs) extension causes new tabs to be redirected to an arbitrary URL. When I open a new tab with NTR and Sidewise enabled, Sidewise reorders the tab according to its position in the hierarchy. The new tab is always a child of the tab that was selected before. This is very reliable.