title and content length verification before save