Cleaned up and improved window size dialog.