Fix hashchange timeout thing preventing dialogs from appearing.