Clean the delegated closing method up so it doesn't break the details on subsequent clicks.