display an error message to the user when a duplicate title is entered.