Link dialog now uses a custom UI and uses the fragment dialog system + fixed some bugs