fixed reslinkDialog overriding by link dialog
fixed context menu