Made dialogs modal in example.