More work on dialogs and shit not working