Add option to show widget as modal