Maximize and restore the widget instance window

When the widget instance is in the original state, and an end-user clicks the maximization icon in the widget instance window, the browser maximizes the widget instance in the whole browser window.

Maximize the widget window

When the widget instance is in the maximized state, and an end-user clicks the restore icon in the widget instance window, the browser restores the widget instance window to its original size.