close input elements.