Prevent Event propagation on split buttons where the main button triggers a modal