Fixed the link dialog (was broken after the applied patch)