Allowing grid toggle event if no node selected