Reformat of modal viewer page for mapcontext.