rewrite adminhtml/catalog_product_widget block

rewrite the block to add a check for massaction on the function
getMainButtonsHtml