Generates a UI fragment for editing a submenu as part of a menu editing app.