share modal dialog (tested only for View inspector)