Validation on ajax message create