adapted sharing dialog to support shared mappings