common dialog bug fixed