outside click goes back