dialogs fixes