fix render dialogs