change object if for dialog