message: use osf-dialog in license-viewer
diff: +<OsfDialog as |dialog|>
  + <dialog.trigger>
  <OsfButton
  data-analytics-name='View license'
  local-class='LinkButton'
  @type='link'
  - @onClick={{action (mut this.shouldShowLicense) true}}
  + @onClick={{dialog.open}}
  >
  {{@manager.registration.license.name}}
  </OsfButton>
  + </dialog.trigger>
  -<BsModal
  - @onHidden={{action (mut this.shouldShowLicense) false}}
  - @open={{this.shouldShowLicense}}
  - as |modal|
  ->
  - <modal.header>
  - <h4 class='modal-title'>
  + <dialog.heading>
  {{t 'registries.registration_metadata.license'}}
  - </h4>
  - </modal.header>
  - <modal.body>
  + </dialog.heading>
  +
  + <dialog.main>
  {{#if @manager.registration.license.url}}
  <p>
  <OsfLink
  </p>
  {{/if}}
  <LicenseText @node={{@manager.registration}} />
  - </modal.body>
  -</BsModal>
  + </dialog.main>
  +</OsfDialog>
  