move some styling to the theme and fade the popup in and out