simplify
add media ns and route (wip)
add appcache file
make root top level var
add modal fn and use for prompting user on new doc