protected override void RegisterClasses()
        {
            DialogClassMapper
            .Add(() => $"modal-dialog {ClassProvider.ModalSize( Size )}")
            .If(() => ClassProvider.ModalContentCentered(), () => IsCentered);

            base.RegisterClasses();
        }