Enabling/disabling sendmessage button when the sendmessage dialog box is up.

A better solution would be to make the dialog box modal, but I don't know how.