Modal and Drawer components'
opened state is controlled by the opened prop. You can use it to prevent the modal from closing by setting
it to true. For example, this can be useful if you have an async operation inside the modal and want to
prevent the user from closing it before the operation is finished: