Converted almost all messages to dialog