allow saving from code view.