@if (@Actions is not null)
{
    <MudDialog @bind-IsVisible="Visible" Style="max-width: inherit !important;">
        <DialogContent>
            <MudStack Class="mt-n3 mb-3">
                @Content
            </MudStack>
        </DialogContent>
        <DialogActions>
            <MudStack Row="true" Class="mb-1">
                @Actions
            </MudStack>
        </DialogActions>
    </MudDialog>
}
else
{
    <MudDialog @bind-IsVisible="Visible" Style="max-width: inherit !important;">
        <DialogContent>
            <MudStack Class="mt-n3 mb-3">
                @Content
            </MudStack>
        </DialogContent>
    </MudDialog>
}