Due to the bug described [here](http://stackoverflow.com/questions/7263309/onbeforeunload-event-is-too-enthusiastic-in-ie9) unsaved-changes shows notification when user clicks on `<a>` even when `href="javascript:void(0);"`.