We're using the pop-up dialog element. ( data-rel="dialog") to load a simple search form. The user enters a 3-digit code and is redirected to the profile on our site.
However, after that search, the back button no longer functions properly. In some instances it will only take people back to the home page of the site and not to any of the subsequent pages, and in other instances, it stops working entirely.
Here's the working draft of our site which shows these issues.