open dialog with script.