sharedialog end