removed unnecessary setDirty() call. no more duplicate message boxes.
make bad object warning dialog nonmodal