customSelect plugin now called at correct point