<dialog
  data-app-session-warning-dialog
  data-app-component="session-warning"
  aria-labelledby="app-session-warning-title"
  aria-describedby="app-session-warning-message"
  aria-live="assertive"
>
  <article class="app-session-warning-dialog app-dialog-sm">
    <header>
      <h2 id="app-session-warning-title"><?php e(t('Session expiring')); ?></h2>
    </header>
    <p
      id="app-session-warning-message"
      data-session-warning-message
      data-template="<?php e(t('Your session will expire in {countdown}. Would you like to continue?')); ?>"
    ></p>
    <footer>
      <button type="button" class="secondary outline" data-session-warning-logout><?php e(t('Log out')); ?></button>
      <button type="button" class="primary" data-session-warning-extend><?php e(t('Extend session')); ?></button>
    </footer>
  </article>
</dialog>
