link maincontroller editnotecontroller