fix issue #1016847 opened file can be reopened in different tab
Merge pull request #7 from OpenNingia/master

fix #1016847 - opened file can be reopened in different tab