Bugfix cb messages in modal dialog