Added SM and Settings dialog.