<div class="overlay" (click)="onOverlayClick()"></div>
<div class="modal" (click)="$event.stopPropagation()">
    <div class="modal-header">
        <span class="modal-title">{{ title() }}</span>
        <button class="close-btn" (click)="onClose()" aria-label="Close">&times;</button>
    </div>
    <div class="modal-body">
        <ng-content />
    </div>
</div>
