Refactored background.js to use list of Modal URLs