output now pops up in a dialog