Added proper tear down in StubbedDialogs demo