add focusout trigger to remove input