Finishing off Commander avexporter - made window into a dialog