add function to disable editing, resolves #879
Merge pull request #898 from bambycha/editable

Disable editing from UI