Fixed compilation error
Fixed dialogs add/remove
Auto-deletion of incorrect dialogs with secret chats