OPAL-2455: Replace window location before invalidating session
Merge pull request #568 from emorency/OPAL-2465-all-modal-resizable

OPAL-2455: Replace window location before invalidating session