Update widgets.php

Add input to define class and link entire widget, not just text to allow for button creation