I'd link to customise a link in the Quick Launch in a custom site definition to show a modal dialog box instead of a default hyperlink. Doing it programmatically in .NET doesn't look do-able because the object model for navigation nodes expects a Url.
My next thought was to modify the link using jQuery when the page loads. However I've not done much with jQuery so how do I go about removing the current hyperlink and add an onclick event handler to open up a modal dialog box, e.g. window.showModalDialog("http://url?tempId=123");
I've already tried as a test to embed the following into the page PlaceholderMain placeholder using SharePoint Designer but the code didn't seem to fire.
$(document).ready(function() {
$('#zz2_QuickLaunchMenun1 > a:first').attr("href", "#");
$('#zz2_QuickLaunchMenun1 > a:first').click(function() {
window.showModalDialog("http://server/class/Pages/CoreMaterials.aspx?siteId=b1ce2e86-27bd-4134-9760-e0ba96a3bb1f&unit=F1C612", "", "dialogHeight:400px;dialogWidth:400px;scroll:no;status:no");
});