Implement most of applescript dialog, now only upload result not yet
Implement Mac dialog