Right now, the edit mode and the view mode are behaving differently. In view mode, the widget is shown as it is, with no additional HTML added before it. In edit mode the widget name is shown on top of the widget markup.
Steps to reproduce:
1) Go to Build -> Pages
2) Add new Standard Page
3) Add any widget to the page
Expected result: The widget is shown as it is, the widget name should not be shown on top.
Actual result: The widget name is shown on top of the widget HTML itself. This name is shown inside a <header class="portlet-topper"> HTML element.