I think this should do the same as the metadata widget.
https://github.com/openstack/horizon/blob/master/openstack_dashboard/static/app/core/metadata/modal/modal.html#L23
I think this should do the same as the metadata widget.
https:/ /github. com/openstack/ horizon/ blob/master/ openstack_ dashboard/ static/ app/core/ metadata/ modal/modal. html#L23