Fixed null pointer exception in case that before a linking opration no
link model existed. Fixed exception in case that cancel was pressed in
the model explorer dialog.