This example demonstrates how to open or close the dialog with animation effects by clicking the appropriate button.
The dialog can be opened or closed with animation effect using the animationSettings property. You can also customize the duration of animation and delay to begin animation. Disables the dialog's animation by setting the animation effect as none.
More information on the animation effect of Dialog can be found in the documentation section.