close curso after select