fix object names being overwritten from the definition.
show a dialog screen if an object has a dialog property
fixed line wrapping for drawing dialog texts