Fix issue #54 "SelectDialog doesn't work if linkedClass is empty"