Drop $GLOBALS['SOBE'] in NewRecordController
NewRecordController currently sets
$GLOBALS['SOBE'] which is required by
NewRecordPageTreeView::expandNext() to determine which page subtree to expand in the page creation wizard accessible through the page tree context menu.
This should be refactored to get rid of
$GLOBALS['SOBE'] in this class.