Control of the electronic properties of nanostructures by electromagnetic dressing