Fixes an error when calling show()

Fixes an error when calling show() from mac OS X terminal. Previously, trying to save (via the button) would not allow you to type a file name.