I have the same isue
Editor Preferences and search for Enable Legacy Editor Mode UI. Restart editor.
Found here: https://answers.unrealengine.com/questions/962536/missing-modes-panel-in-default-layout.html
Did you find the answer if yes how to do it?