Added modals support

When closing a modal, Backbone can now silently change the hash back to
what it was.