Stringify JSON object while POSTing to API
Hide modal if message sent successfully