Bootstrap modals don't magically appear on their own. They are shown when you trigger them, either by clicking an element in the current page, or via Javascript.
Modal · Bootstrap v4.6[
^]
You need to add some script to your page to display the modal dialog when the document loads.
@section Scripts {
@if (ViewBag.Saved != null)
{
<script>
$(function(){
$("#exampleModal").modal("show");
});
</script>
}
}