avoid alert when inserting a link