trap and warn on link open