Removed MainWindow, now using Dialog