hide popup on click
use "visibility" instead of "opacity"