This sample demonstrates that the modal behavior of Dialog component.
Choose "Close on overlay" option from property panel to decide whether the Dialog will be closed on click on the overlay.
Click on “Open” button to show the Dialog again if it is closed.
A modal prevents the access to the parent application, so that the user should interact with the Dialog compulsory before continuing
the parent application.
More information on the modal behavior of Dialog can be found in the