Yes but can we dim the background?

Yes but can we dim the background using modal window?

You can edit the css file and set any color for the background or completely remove it.
By the default bg is transparent in lightgray color.