I've got some error state holder in my application. Depending on its state I would like to bring up a modal popup panel presenting the error to the user. I've got this working for all my views depending on some template they are based on - as long as the whole page is (re)rendered. How can this be achieved after each ajax request. Anybody an idea?