sharing modal enhancements #241