Added alertify, completed saving and editing of links