the code line was removed in add_modal_lnk branch