We should use classes for all the elements in the modal bar, since now we assume that there might be 2 elements with the same id in the DOM at a specific time.