added simple dialog logging