Completed cocoaDialog switch

Changed all the dialogs to use
cocoadialog(http://mstratman.github.io/cocoadialog/).