Show/hide rather than opacity

Use display rather than opacity to make sure close button isn't clickable when hidden.