output to panel instead of new window