Don't create new pages on new URL visit -- return a 404 so we can detect from JQuery.
Added a modal preview for attachments.

Where available, we'll get a preview of the attachments generated by the appropriate 'media-plugin'. If unavailable, it will spawn an iframe to download the file directly.