When the add button is clicked, an error is displayed because no tag has been entered. 