Added 'You have unsaved changes' message to adding/removing sensors in multigraph. Additionally added tests for this.