In case they pass in /foo/bar/baz.html.md trim off the leading slash
Trim off the leading slash if needed
Add formidable module
Call correct method to read docEntry
Generate consistent dirPathInfo
Correct handling of file extensions for renderable files
When pathname references file with full unrendered name (foobar.html.md) read its docEntry to get data
Hide the modal's
Combine image/page viewers into one file viewer - support uploading files