annoying fileChooserDialog pending bug is fixed by hackish workaround
make addLink work properly again