added text and edit widgets