Changed dialog command to use serializedProperty