Input fixed, now close when activated, stay open on error