@let isDrawer = dialogRef?.isDrawer; @let widthClass = width() ?? "";
@let showHeaderBorder = bodyHasScrolledFrom().top;
@if (isStacked()) {
}

## {{ title() }} @if (subtitle(); as subtitleText) { {{ subtitleText }} }

@if (!this.dialogRef?.disableClose) {
}
@if (loading()) {
}
@if (hasFooter()) { @let isScrollable = isScrollable$ | async; @let showFooterBorder = (!bodyHasScrolledFrom().top && isScrollable) || bodyHasScrolledFrom().bottom;
}