Re-designed the properties dialog.