If new pane is created, make it the active pane

This is for #9255 

cc @JeffryBooher 
this should be `setActivePaneId(newPane.id)` if we add support for more panes then we won't need to change this code because the second pane is chronically getting the focus after creating a new pane ;)