SubNavbar inside popup not displaying for md theme

Check out this fiddle: https://jsfiddle.net/jacobg/2qz5vxmh/
Click the “Open” link to open the popup. There’s a subnavbar that is not displaying. If you change the f7Params theme to ios, then it displays just fine.

Any ideas? Is this a bug?

I just noticed in the docs it says:

Note that page that contains Subnavbar must have additional page-with-subnavbar class which adds additional top padding required for subnavbar

So I added class="page-with-subnavar" to the page element, and it works! I guess that class is really only necessary on md theme.