open new window if needed

this fixes https://github.com/henrikpersson/rsub/issues/1