modal works on extension page