Fixed bug where save-as dialog wouldn't be shown when clicking save with...

... no file name set on the code pane.