A widget must not navigate to another page, or reload itself. This will break its communication with the framework.
For example, if your widget submits a form, it must do so using something like Ajax to send the data, rather than doing a full page POST which causes a reload or navigation of your widget page.