Finish link dialog and select text input when dialogs load