2066 & 3380: hide in-page modal content rather than removing it

http://code.google.com/p/otwarchive/issues/detail?id=2066
http://code.google.com/p/otwarchive/issues/detail?id=3380 (modal rewrite issue)