fixing dbl-click bug for document grid