title: Using Colorbox, how can I create browser history states for each modal box?
body: <p>I'm using the <a href="http://colorpowered.com/colorbox/" rel="nofollow">ColorBox</a> jQuery plugin to create modal lightboxes for different purposes around my site. In some cases, we'd like the ajax modal box to create a new history state in the browser so that if I user clicks the Back button, it will close the modal box and bring them back to the underlying view.</p>
  
  <p>Firstly, is behavior like this possible with ColorBox? Second, I've looked into <code>window.onhashchange</code> and also this <a href="http://benalman.com/projects/jquery-hashchange-plugin/" rel="nofollow">hashchange plugin</a>, but I'm really struggling to put something working together with the ColorBox plugin. I'm hoping someone has attempted or successfully accomplished something similar who may have some insight on how this may be accomplished.</p>