Make the default route of the editor the new metadata panel and add route params to open the editor for a metadata eg. #/metadata/id/tab/tabname.