SMS Plugin: Another fix to register dialog.