Adding the ability to specify a custom select event