reimplemented import ui in a ocdialog
adapted import ui to fit in the ocdialog
might be some bugs left though