Connect slots on open