Added selectedItem for customListDialog.