small tweak to css improve modal effect