Modal and popover have a common logic to choose the right organization during event sharing. Fixed #19