Fix issue #139

patch commonDialog.js to use username matching