One of the biggest problems when using AJAX
[http://en.wikipedia.org/wiki/Ajax_(programming)] in web development is
maintaining application state. In a javascript heavy site one might want to do
all sorts of things that change the state of the user experience. For instance,
opening up modal dialogs