Fixed signal connection failure in some dialogs