View receipt attachments in the browser

EDIT: After posting, I saw that this had been added partially, as a lightbox opens if users click on the “Receipt” text in the expense list. However, opening the receipt (so that the details are all visible), and click the receipt image/PDF icon still results in a file download prompt, not a lightbox.

===

Currently, if I want to review an uploaded receipt, clicking on the image preview/PDF icon will prompt the user to download the file. Can it be made so that that the file just opens within the desktop browser (perhaps in a new tab)? This avoids creating extra clutter in the users Downloads folder, and should be doable given only images or PDFs can be uploaded in the first place, which desktop browsers can handle natively.