I had this problem a while back. I ended up modifying how it inserts and Viper's Native Gallery Lightbox plugin to allow for links. Works well, but would definitely rather see this natively in WordPress.