add a slight delay when determing if input box should be dimmed
cleanup