> I only set settings.buttons["Ok']. Somehow extend() causes this > behaviour can anyone explain why?
Sounds like you wanted the "deep" option. Otherwise your nested objects won't be duplicated, just copied as object references. http://docs.jquery.com/Utilities/jQuery.extend#deeptargetobject1objectN