Repodialog parts

It's nothing without the main window or course. Still need to clean the
code.