refs #637 - fix navigationRequested when navigationLocked
fixes #639 - withFrame() now switches back to parent frame instead of main one
Merge pull request #637 from dharrya/fix-navigation

ref #637: checkStep turns into an infinite loop when navigationLocked == true