added dialogs to demo