refs #404: added loan.history handling when clicking 'duplicate' button