5 years later. You could also create a fake URL and set the window.location to that in JavaScript, then check your onBeforeBrowse notification handler for that URL, cancel the browse, then show your form.