dialog with string bounds bug fixed