update customSelectOpen logic