add a dialog for changing properties.