Bug fix for link modal.