Element: #081 Basic and destructive (feedback/alert-dialog)
What it shows: Two alert dialogs, a plain sign out confirmation and a destructive project delete, with an event log below.
When to use: Asking the user to confirm an interrupting action such as signing out or deleting a project.
Spec:
- Sign out dialog: `bind:open={signOutOpen}`, `confirmLabel="Sign out"`, `onconfirm` and `oncancel` handlers
- Delete dialog: `bind:open={deleteOpen}`, `confirmLabel="Delete"`, `destructive` flag, only `onconfirm`
- Triggers are `` and ``
- Handlers call `push('Signed out')`, `push('Sign out cancelled')` and `push('Project deleted')`
- Log keeps the latest four entries with `slice(0, 4)` in a `