Revert "Checks for selection after creating a link"

This reverts commit 3c65d72c12ca0b18c9f49fd75120a4198abc3867.