improved log dialog