grid template: take care of floats

where there is no records in grid and no buttons, but have right floated quicksearch, then notfound message should clear floats otherwise it is shown above quicksearch widget.