Patch for creating links without selection