Add a basic opened and closed events on the dropdown