If the user is having a browser with PDF reading capabilities (or a plugin) and the corresponding settings to open PDF files in-browser, the PDF will open like that.
See: How to force a Download File prompt instead of displaying it in-browser with HTML?
Are you specifically dealing with PDFs? Or does this happen for all files?