Fix timing bug in modal specs where two sub modals would have the same timestamp as their id.
[#42307447] Don't spy on window.scroll.  It works sometimes, but in phantomjs the spy does not behave correctly after you have called requireLogin twice... were not able to explain this behavior.