Add better handling of tab key for adding and going to next input.