Fixed the adding classObject dialog to toggle addClass button upon close. Also fixed for when you add an empty class it does not add attributes to an non-existing class,.