Finished validation for modal and message input
Merge pull request #17 from alisonelizabeth/validatefunction

Finished validation for modal and message input