Reverted 1b9ca13.
Rewrote the showDialog signals to send a string describing the action to be taken, and set buttleData.saveData() to use .toLocalFile() to turn URL's into proper paths.