Use dialog for output.