dialogbox bug fixed