change dialog to widget to use the OS operation for windows
Merge branch 'v1.1'