Adapt the zindex for the widget for widget in the modal