dialog for Winodws MacOS Linux