This is exactly what I was looking for. You hooked straight into the way WordPress already works intuitively and perfectly. Thanks!
But can you add the same checkbox to the "Link to" option in the Media Library. Often, affiliate links are added to images, so it'd be great to have it there as well.