Have you tried calling Activate on the view-model whose view should be selected, once the additional window is closed?
Unless you explicitly activate the previous shell, I suppose that the framework does not know that something has to be activated back after the conducted view-model is deactivated.