Dispatch an action event when the select is changed