Add test for NDialog.register.
Add NDialog.version.