close the popup dialog if user click the note link