Added background darkening to the popup