Overwrite default action of the dialog and let widget take care of the linking process.
Defined custom action for unlink command if linked widget is focused. Removed refresh listener for link command, which is always TRISTATE_OFF.