IE now doesn't show dialog on page navigation, resolves #204

Resolved only by workaround. I have not figured out what to do in IE even after extensive search.