Widgets: Add target param to control link behaviour. Closes #549.