allow support for passing a model to the modal view template
implement a more template method style functionality for header and footer