- const proxyAttrs = {'modal-type': 'popup'};
- ['closeable', 'not-fullscreen', 'open'].forEach(attr => proxyAttrs[attr] = $attrs[attr]);
mp-modal(
  attrs=proxyAttrs
  on={change: $helpers.modalChanged}
)
  .mp-alert-container
    .mp-alert-body
      .mp-alert-icon(class={'large-icon': $attrs['large-icon']})
        svg-icon(attrs={icon: 'alert'})
      .mp-alert-copy
        slot
