Connecting slots/signals (now the dialog will react to clicking to it's