Ensure dialog is closed when scope is destroyed.
Release 0.0.23.
Start 0.0.24.