check bounds for dialogs.
check bounds deserialize.