I have the small problem that my customer wants some PDF files to be sent to the browser as a save as-dialog instead of opening them using the browsers default behaviour. I assume it could be possible by playing with the mime type somehow, but how exactly would I do this? Is there something within MODx itself I could use for this or do I have to write a small sendAsDownload.php which I would put in the root dir and then link like sendAsDownload.php?file=/files/pdf/my.pdf ?