fix(input): dismiss only on last view