fix bug 797110 - Allow saves in source mode

https://bugzilla.mozilla.org/show_bug.cgi?id=797110