Move to use templates via Ajax.
Keep case numbers on screen the entire time.