make changes to message box as suggested by @sshyu