Dialog windows (almost) finished
All core functions are working.