Move output texts to dialog