dialog newCategory will give a user feedback if the name already exists