remove quad on click and its listeners