Add validation for empty title