Adds support for ctrl-s save