Do you need to add a preventDefault here like on the others? It looks like it is connected to a button, so perhaps not.