Fix issue on dialogs controller