Fixed callback when two dialogs at once and changed to allow htmlmessages