Fixed multiple items with same id
changed alert spam to change modal title instead (maybe make it change the page title later?)