Remove click handler from document when scope is destroyed