Encapsulate plot in a widget to add control buttons