Number select dialog box debugged