prevent users from adding empty tasks