Fix aloha editor loading pages when tabs are opened in  opened in single-page applications