Added continuous save mode

* Added a toggle button to the editor panel that when switched on, will
save the file everytime the user tries to view another node.