Fix sharing modal and node leak
Merge pull request #48 from matugm/fix-shared-scan

Fix sharing modal and node leak