Added ssmInit so that  can be used for cross page navigation.
Bug fix to dialog svc.