alert user when topic name is null or all spaces