messagin system works well, except dialog mode