minor improvement, now using patched dialog