I was not aware of this option. I was trying to mimic NERDTree's approach; and after looking into its source code: it is checking for the `hidden` option alongside with `modified`. We can do that as well. i.e. `if modified and nohidden: split`
In my defense: not all users are using `hidden` option and there will always be users with the `('same-buffer', nohidden)` option pair. So after finding the result (which BTW can take some time for big files) we'd better to give user something rather then printing Vim exception trace-back, forcing user to save or undo changes and repeat the GoTo command. I personally find it annoying.