bad objects warning dialog works. fixes #343.