Bug fix for linking modal.