Changed the hint text box to a message dialog box.