click close detail event ported to knockout syntax