Issue #2304465 by dsnopek: Fixed Autocomplete loses item selected via keyboard in CTools dialog.